hi Slava, 

I monitor all those events:

EVT_CACHE_REBALANCE_PART_LOADED,
EVT_CACHE_REBALANCE_PART_UNLOADED,
EVT_CACHE_REBALANCE_STARTED,
EVT_CACHE_REBALANCE_STOPPED

And found when I start multiple nodes,  neither of those events be triggered.  
my cache work as PARTITIONED.

But if I monitor the EVT_NODE_JOINED, I can find the node joined,  so now the 
first node still carry all the primary partitions.

This is not what we expected, we want those two nodes to do load balance, so 
when exactly the REBALANCE started?  


Regards
Aaron


[email protected]
 
From: [email protected]
Date: 2017-10-18 19:23
To: user
Subject: Re: Re: Where can we get the partition assignment of a Cache after the 
cluster changed?
Got thanks Slava!



[email protected]
 
From: slava.koptilin
Date: 2017-10-18 17:52
To: user
Subject: Re: Where can we get the partition assignment of a Cache after the 
cluster changed?
Hi Aaron,
 
Please take a look at the following event types:
- EventType#EVT_CACHE_REBALANCE_PART_LOADED [1]
- EventType#EVT_CACHE_REBALANCE_PART_UNLOADED [2]
 
[1]
https://ignite.apache.org/releases/2.2.0/javadoc/org/apache/ignite/events/EventType.html#EVT_CACHE_REBALANCE_PART_LOADED
[2]
https://ignite.apache.org/releases/2.2.0/javadoc/org/apache/ignite/events/EventType.html#EVT_CACHE_REBALANCE_PART_UNLOADED
 
Thanks!
 
 
 
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to