Re: [akka-user] Problem with nodes going down and ClusterSharding

2016-11-12 Thread kraythe
One other question. Is it sufficient if a node is going to go down gracefully to do the code i pasted, or is there something more needed? In this case we know this node is going to leave. On Saturday, November 12, 2016 at 11:46:20 AM UTC-6, Patrik Nordwall wrote: > > What other downing strategy

Re: [akka-user] Problem with nodes going down and ClusterSharding

2016-11-12 Thread kraythe
Currently we are not using any auto-downing strategy. I can look into the resolver you mentioned but if its a commercial feature it is not available to me at this time for reasons I cant talk about publicly. On Saturday, November 12, 2016 at 11:46:20 AM UTC-6, Patrik Nordwall wrote: > > What ot

Re: [akka-user] Problem with nodes going down and ClusterSharding

2016-11-12 Thread Patrik Nordwall
What other downing strategy are you using? We recommend against auto-down. We recommend Split Brain Resolver or similar. No downing strategy at all is not an option. Then you must down manually (by human operator). /Patrik lör 12 nov. 2016 kl. 18:22 skrev kraythe : > Greetings, > > We have a clus

[akka-user] Problem with nodes going down and ClusterSharding

2016-11-12 Thread kraythe
Greetings, We have a cluster shared actor that manages the UserSession for our users. The actor's persistence id is the name of the session id and its shard is determined by sessionId.hashCode() % 37. All of this works beautifully except when a node goes down either crashing (simulated with ki