Dear Igniters, Could someone please clarify if it is guaranteed that the Affinity (GridCacheAffinityImpl) will have the most up-to-date information about partitions distribution and the following scenario is impossible:
1. We have a registered listener of EVT_CACHE_REBALANCE_PART_LOADED and EVT_CACHE_REBALANCE_PART_UNLOADED events 2. We have a ContinuousQuery that keeps track of all the new cache entries (cluster-wide) 3. The events listener gets the Partition Loaded Event 4. The cache listener receives a new cache entry that belongs to the loaded partition and invokes Affinity#isPrimaryOrBackup(ignite.cluster().localNode(), key) and gets the FALSE response In other words, is it guaranteed that the information about partitions distribution will be adjusted strictly before the first Partition Loaded Event will be distributed to listeners? Best regards, Ivan
