ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "aaron@tophold.com" <aa...@tophold.com>
Subject Re: Re: Where can we get the partition assignment of a Cache after the cluster changed?
Date Thu, 19 Oct 2017 02:48:36 GMT
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


aaron@tophold.com
 
From: aaron@tophold.com
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!



aaron@tophold.com
 
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/
Mime
View raw message