Re: Data Rebalancing status API

2017-11-24 Thread Alexey Popov
Hm, actually, I've missed existent MXBean: RebalancingPartitionsCount.

Probably it should be enough.

Thanks,
Alexey



--
Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/


Data Rebalancing status API

2017-11-24 Thread Alexey Popov
Hi Igniters,

I saw several cases when Ignite users/admins need to ensure if Data
Rebalancing is NOT in progress to prevent possible data loss.
For instance, when nodes one-by-one are moved out of the cluster for
maintenance and returned back by some script. 

Currently, this information could be received only by listening to
EVT_CACHE_REBALANCE_STARTED and EVT_CACHE_REBALANCE_STOPPED events. 

Why Ignite doesn't provide any public API to get a cache (or node)
rebalancing state?
Can we add some API for such purpose?

Thanks,
Alexey



--
Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/