Open Aaronontheweb opened 6 years ago
Hey, according to what I understand, I just need to change this particular piece of code.
var members = _dbHelper.GetClusterMembers().ToImmutableList();
if (members.Any())
{
_cluster.JoinSeedNodes(members);
_dbHelper.AddClusterMember(_cluster.SelfAddress);
}
else
{
var self = _cluster.SelfAddress;
_dbHelper.AddClusterMember(self);
_cluster.JoinSeedNodes(ImmutableList.Create(self));
}
}
If so, I'd like to try to take up this issue.
@shauryapatel27 you'll need to do that and maybe the Akka.Persistence backend (might be issues with multiple nodes all trying to write to SQLite). But by all means, please go ahead and give it a try!
If there is no deadline on this then yes I want to try to take this one
@Aaronontheweb Is this issue still opened ? I can take it if needed
@Aaronontheweb Is this issue still opened ? I can take it if needed
It's still open! We would welcome any help we can get here
@Aaronontheweb Is this issue still opened ? I can take it if needed
It's still open! We would welcome any help we can get here
I'm not sure on the issue. I checked inside the docker-compose, and it seems to have already 3 nodes (node-1, node-2 and node-3). Is it already in multi nodes or did I missed something? I started it locally, and it seems that there are multiples things to fix:
@pierrebelin all yours!
We should change https://github.com/akkadotnet/akka.net/tree/dev/src/examples/Cluster/ClusterSharding/ClusterSharding.Node to have it actually run on multiple nodes instead of just a single node, since that's more illustrative of real-world behavior than the single-node mode it uses right now.
Looks like that can be configured via the SQLite database, but it'd be easier to just discard that and have the code fire up multiple nodes like how it does for other samples.