Skip to content
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

DData replicator is always assigned #3297

Closed
Horusiath opened this issue Jan 26, 2018 · 1 comment · Fixed by #3298
Closed

DData replicator is always assigned #3297

Horusiath opened this issue Jan 26, 2018 · 1 comment · Fixed by #3298

Comments

@Horusiath
Copy link
Contributor

Horusiath commented Jan 26, 2018

As @zbynek001 pointed out, after 1.3.3, the Akka.Cluster.Sharding update is no longer binary compatible - the reason for that is that we initialize DistributeData replicator even thou we didn't use it.

The line which causes an issue:

var replicator = DistributedData.DistributedData.Get(Context.System).Replicator;

The problem is that I've missed the initialization code. Replicator should not be initialized via explicit DistributedData.DistributedData.Get(Context.System).Replicator call, but rather a Replicator method defined few lines below:

private IActorRef Replicator(ClusterShardingSettings settings)

You can see that error only refers to StartProxy command. Standard Start command works as designed.

@Aaronontheweb
Copy link
Member

We'll get this out as part of a 1.3.4 release shortly.

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

Successfully merging a pull request may close this issue.

2 participants