On Tue, Oct 13, 2015 at 2:04 PM, Johannes Berg <jberg...@gmail.com> wrote:

> Hi!
>
> I'm running cluster sharding and at a certain point I want to instruct one
> of the nodes to shutdown a certain shardregion and handoff all the shards
> to other nodes. But I still want to keep the node around and restart the
> shardregion in proxy mode. Is this possible? I've looked at Graceful
> Shutdown and proxy mode at
> http://doc.akka.io/docs/akka/snapshot/java/cluster-sharding.html and in
> theory it seems it should work although the example shutdowns the node and
> doesn't restart the shardregion.
>

That is not supported. You must restart the actor system. It would be
complicated to add that feature.


> Also Graceful shutdown doesn't seem to be available in the doces for
> 2.3.X, but is there some possibility of doing the same thing in 2.3.X
> somehow (sending poisonpill to shardregion and restart region with null
> entryProps or something like that)?
>

Graceful shutdown is new in 2.4.0 and I see no way to do it in 2.3.x

Regards,
Patrik


>
> Best Regards,
> Johannes Berg
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Patrik Nordwall
Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
Twitter: @patriknw

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to