Comments (4)
Thanks for reporting, will look soon
from swift-distributed-actors.
btw think I've pushed a error in SPM in example before 🙈
fixed that, now should work
from swift-distributed-actors.
Ok, after a bit of testing and checking repo around, think this PR and particular WeakWhenLocal
wrapper can fix this issue. Will double check.
Probably there should be a better way to fix :)
from swift-distributed-actors.
Actually looking back again into issue and thinking a bit more about, introduction of some type like WeakWhenLocal
makes sense.
Making worker reference either just weak or just strong will both give you a problem:
- Weak references of remote actors will just be cleaned up by local system as there are no other references to this actor.
- Strong references of local actors will create unwanted reference between worker and worker pool and won't be cleaned up from memory.
So you (or system) need to know if it's local or remote reference for WorkerPool. And this PR is actually should fix it. 🤔
from swift-distributed-actors.
Related Issues (20)
- FAILED: Stuck test test_swim_shouldRespondWithNackToPingReq_whenNoResponseFromTarget HOT 1
- Cleanup all warnings in 5.9 build HOT 7
- FAILED: test_cleanUpAssociationTombstones message timeout HOT 1
- Cleanup boss hasActiveSingleton in cluster singleton
- DA spawned by a ClusterSingleton inherits _Props and leads to duplicateActorPath error HOT 2
- FAILED: timeout in DowningClusteredTests.test_stopMember_by_downSelf_shouldPropagateToOtherNodes
- EXC_BAD_ACCESS when running on macOS 13 and Xcode 15b HOT 6
- Test hang: DeathWatchTests.test_sendingToStoppedRef_shouldNotCrash
- EXC_BAD_ACCESS in OpLogDistributedReceptionist HOT 2
- Leadership will choose lowest node by `systemName` order and not by address
- FAILED: ClusterLeaderActionsClusteredTests.test_ensureDownAndRemovalSpreadsToAllMembers HOT 1
- FAILED: SWIMActorClusteredTests.test_swim_shouldPingSpecificMemberWhenRequested
- generic specialization <DistributedCluster.AnyDistributedReceptionKey> of Swift.__RawDictionaryStorage.find<A where A: Swift.Hashable>(A) -> (bucket: Swift._HashTable.Bucket, found: Swift.Bool) in /root/shared/ZK/zk/<compiler-generated>:0
- generic specialization <DistributedCluster.ReplicaID> of Swift.__RawDictionaryStorage.find<A where A: Swift.Hashable>(A) -> (bucket: Swift._HashTable.Bucket, found: Swift.Bool) in /root/shared/ZK/zk/<compiler-generated>:0
- Provide a `clusterd` process for simple node discovery
- Improve docs about joining; show the `try await joined` pattern
- Is it possible to check-in automatically when ID has \.receptionID metadata HOT 1
- Thread 1: Fatal error: Error raised at top level: DistributedCluster.GenericRemoteCallError(message: "Remote call error of [ExecuteDistributedTargetError] type occurred")
- SerializationError
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swift-distributed-actors.