Hi folks,

Why RendezvousAffinityFunction.excludeNeighbors [1] is false by default? It's not obvious that if user wants to run more than one node per machine it has also set this flag to true explicitly. Maybe it would be better to set it to true by default?

At the same time if excludeNeighbors is true, it ignores backupFilter. Why it's not vice-versa? For example:

1) if backupFilter is set - it will be used,

2) if there are not enough backup nodes (or no backupFilter) - try to distribute according to excludeNeighbors = true,

3) if this is not possible too (or excludeNeighbors) = false - assign partitions as possible.

[1] https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/cache/affinity/rendezvous/RendezvousAffinityFunction.html#setExcludeNeighbors-boolean-

Are there any drawbacks in such approach?

Thanks!

Reply via email to