You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Prasad Bhalerao <pr...@gmail.com> on 2019/10/08 17:49:16 UTC
Gracefully shutting down the cluster nodes
Hi,
I want shutdown the cluster nodes one by one (kind of rolling restart) for
upgrade purpose.
Is there anyway to shutdown the ignite node safely as follows
1) it will wait for already executing task to complete.
2) it won't accept any new task submitted, instead the new tasks will be
executed on its secondary node which will become primary once the previous
primary is down.
I am not using ignite.sh to start node. I am starting ignite as java
embedded mode.
Thanks,
Prasad
Re: Gracefully shutting down the cluster nodes
Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!
What kind of task are you talking about? Ignite has failover, so usually
task will be transparently transferred to other node.
To be extra sure you can call Ignition.stop(false) to make sure no current
tasks are interrupted.
Regards,
--
Ilya Kasnacheev
вт, 8 окт. 2019 г. в 20:49, Prasad Bhalerao <pr...@gmail.com>:
> Hi,
> I want shutdown the cluster nodes one by one (kind of rolling restart) for
> upgrade purpose.
> Is there anyway to shutdown the ignite node safely as follows
> 1) it will wait for already executing task to complete.
> 2) it won't accept any new task submitted, instead the new tasks will be
> executed on its secondary node which will become primary once the previous
> primary is down.
> I am not using ignite.sh to start node. I am starting ignite as java
> embedded mode.
>
> Thanks,
> Prasad
>