Skip to content

DistributedData replicator actor is being created under "/user" #7606

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Arkatufus opened this issue Apr 28, 2025 · 5 comments
Open

DistributedData replicator actor is being created under "/user" #7606

Arkatufus opened this issue Apr 28, 2025 · 5 comments

Comments

@Arkatufus
Copy link
Contributor

Arkatufus commented Apr 28, 2025

Version Information
Version of Akka.NET? dev branch
Which Akka.NET Modules? Akka.DistributedData

Describe the bug
DistributedData.Replicator actor is created under "/user", should be created under "/system" instead.

Code link

Replicator = _settings.RestartReplicatorOnFailure
? system.ActorOf(GetSupervisedReplicator(_settings, name), name+"Supervisor")
: system.ActorOf(Akka.DistributedData.Replicator.Props(_settings), name);

@Aaronontheweb
Copy link
Member

yeah if we can fix this without it breaking live Akka.Cluster systems, that'd be a good candidate for v1.5 - buuuuuuuuuuut if it's going to cause them to all "miss" each other then we should move this to v1.6, which will likely require a full cluster restart any way.

@Arkatufus
Copy link
Contributor Author

Yeah, this is a potentially cluster breaking behavior

@Aaronontheweb
Copy link
Member

If it is, has to go into v1.6. And no opt-out flags or whatever either - we just fix the problem and sell it as part of a full upgrade.

@Arkatufus
Copy link
Contributor Author

Replicator expects that all other replicator actors to have the same exact actor path as it is, changing the guardian actor would not work in a mixed implementation cluster environment because the replicator running under "/user" would not be able to talk to replicator running under "/system".

private ActorSelection Replica(Address address) => Context.ActorSelection(Self.Path.ToStringWithAddress(address));

@Aaronontheweb Aaronontheweb modified the milestones: 1.5.41, 1.6.0 Apr 28, 2025
@Aaronontheweb
Copy link
Member

Ok, we'll move this to v1.6 then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants