Hi,

To make sure that two nodes on the same host don’t have primary and backup 
versions of the same partition you can use
    cacheConfiguration.setAffinity(new RendezvousAffinityFunction(true));
See 
https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/cache/affinity/rendezvous/RendezvousAffinityFunction.html
 for details
(note the excludeNeighbors parameter).

Stan

From: Naveen
Sent: 21 марта 2018 г. 17:38
To: [email protected]
Subject: Is backup copy always stored on different host - is it 
host-awarereplication

Hi 

Using ignite 2.3
When we use backup as 1, does it mean that backup copy is store in another
host 

Lets say, if we have cluster with 3 hosts H1, H2, H3, each host running 2
ignite nodes

H1 is holding the primary copy, backup copy should be on H2 or H3, it should
not be on H1, but on different node. 

Is it host-aware replication ??

Thanks
Naveen



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

Reply via email to