Stephen,

AFAIK there is no such public option to wait for all the cluster
caches are fully rebalanced. Please, take a look here [1]. This is an
internal method which returns the future (will be completed when cache
group rebalance is finished) and it's not exposed to any Ignites
public API, so I doubt your goal is achievable out of the box. But I
think this method can be accessed via some custom Ignite plugin.

Also, I thought that the rolling upgrade is a part of GridGain and not
supported by pure Apache Ignite, Am I missing something?
What the automation tool do you use for such purpose?

[1] 
https://github.com/Mmuzaf/ignite/blob/master/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCachePreloader.java#L128

On Thu, 27 Jun 2019 at 18:18, Stephen Darlington
<stephen.darling...@gridgain.com> wrote:
>
> Hi,
>
> I’m looking to be able to automate a rolling update of Ignite, that is, take 
> nodes down one at a time until the whole cluster has the new configuration.
>
> I have my caches configured with at least one backup. What’s the easiest way 
> of checking that the cluster has finished rebalancing all the caches before 
> moving onto the next node?
>
> I can see the information in CacheMetrics and it seems to be exported to JMX, 
> but it feels like there should be a way to see this in a command line tool. 
> Not figured out how to see it in “control” or “ignitevisor”. Am I missing 
> something?
>
> Thanks in advance.
>
> Regards,
> Stephen
>

Reply via email to