ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bluehu <husheng...@gmail.com>
Subject Re: is there a interface let client know the change of assignment(like topology version)?
Date Sat, 03 Sep 2016 09:21:44 GMT
hi vdpyatkov, I want to use "ignite.compute.broadcast" to do some task, but
the cluster must finish rebalance, is there a way let client know the finish
of rebalance?


vdpyatkov wrote
> Hello,
> 
> You can subscribe to event[1] and handle EVT_CACHE_REBALANCE_STARTED
> and EVT_CACHE_REBALANCE_STOPPED events on client node.
> 
> [1]: https://apacheignite.readme.io/docs/events
> 
> On Thu, Sep 1, 2016 at 5:17 AM, bluehu &lt;

> hushenglan@

> &gt; wrote:
> 
>> for example, C is a client, X and Y are ignite server, then server Z join
>> in:
>>
>> topologyVersion changed immediately, and then rebalance start, a
>> CacheAffinityChangeMessage will sent after rebalance finished, then
>> assignment changed.
>>
>> is there a interface let client know the change of assignment(like
>> topology
>> version)?
>>
>>
>>
>> --
>> View this message in context: http://apache-ignite-users.
>> 70518.x6.nabble.com/is-there-a-interface-let-client-know-
>> the-change-of-assignment-like-topology-version-tp7444.html
>> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>>
> 
> 
> 
> -- 
> Vladislav Pyatkov





--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/is-there-a-interface-let-client-know-the-change-of-assignment-like-topology-version-tp7444p7518.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message