Re: Partitions distribution across nodes

2018-08-08 Thread dkarachentsev
Hi Akash, 1) Actually exchange is a short-time process when nodes remap partitions. But Ignite uses late affinity assignment, that means affinity distribution will be switched after rebalance completed. In other words after rebalance it will atomically switch partition distribution. But you don't

Re: Partitions distribution across nodes

2018-08-08 Thread akash shinde
Hi, I introduced the delay of 5 seconds and it worked. 1) What is exchange process and how to identify whether exchange process is finished? 2) I am doing partition key aware data loading and I want to start load process from server node only and not from the client node. I just want to initiate

Re: Partitions distribution across nodes

2018-08-08 Thread dkarachentsev
Hi Akash, How do you measure partition distribution? Can you provide code for that test? I can assume that you get partitions before exchange process if finished. Try to use delay in 5 sec after all nodes are started and check again. Thanks! -Dmitry -- Sent from: http://apache-ignite-users.705

Partitions distribution across nodes

2018-08-07 Thread akash shinde
Hi , I am loading cache in partition aware mode.I have started four nodes. Out of these four node two nodes are loading only backup partitions and other two nodes are loading only primary partitions. As per my understanding each node should have backup and primary partition both. But in my cluste