Hi!

3 different affinity keys on 3 nodes is not enough, it's a hash code that is used so you may end up with 2 groups (or even all 3) on one node, if you need it to work that way you will need to create your own affinity function.

Any way you might be able to increase the number of group id's in some way ? if you for example had 30 group id's you would have a much better distribution of the entries.

Mikael

Den 2018-12-18 kl. 15:14, skrev ashishb008:
Hello,

As of now, we have 3 nodes. We use group ID as affinity key, and we have 3
group IDs (1, 2 and 3). And we limit cache partitions to group IDs. Overall
nodes=group IDs=cache partitions. So that each node have equal number of
partitions.

But it doesn't distribute cache partitions across the nodes. What it does,
put 2 partitions on one node, 1 partition on another node, and nothing on
remaining one.

Thanks





--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to