Hello!

I think STARTED will be fired on all nodes, but only demander nodes will
spend time before STOPPED is sent.

So you should probably listen to events from all nodes, not just to local
ones.

Regards,
-- 
Ilya Kasnacheev


пт, 15 нояб. 2019 г. в 11:18, novacean.alex <[email protected]>:

> Hi,
>
> Are these events published on every node if rebalance is happening,
> including the supplier node for the rebalance process?
>
> My use case is something like this:
>
> - when one node gets restarted, the first thing that is fired at startup is
> the init container which would have an ignite client that will connect to
> the cluster (the cluster now is formed from two nodes only)
> - if between these two nodes that are now the whole cluster a rebalance is
> in progress(1 node is supplier and 1 node is demander) i want to make the
> node that is restarting to wait until that rebalance is finished
>
> Also i don't know if the event listening is the best approach as i've found
> this  issue <https://issues.apache.org/jira/browse/IGNITE-3362>   with the
> EVT_CACHE_REBALANCE_STOPPED event and i would need to know for sure that
> when that event is published i can tell the restarting node to start.
>
> Thanks,
> Alex.
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to