Thanks a ton again. Still few more doubts :
//It's much better if you in AffinityFunction.partition() method will calculate node according to your key. If you have key 1-10000 it should go to partitions that belong to a single node. But at the same time method assignPartitions() should assign related partitions to the same node. // 1. AffinityFunction.partition() will calculate the partition where it will be gone into. How to know which node/machine is this partition in? Is there an API for this? 2. // If you have key 1-10000 it should go to partitions that belong to a single node // How can I be sure about this? or how can I force this? Since the ids are unique and does not have anything in common. 3. //But at the same time method assignPartitions() should assign related partitions to the same node.// is this used for assigning partitions to nodes? when I checked, this returns something else? And finally and most importantly, this will all work(load,rebalance,failover) if I load data from a single node and other nodes won't have any data loading part. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/
