Hi Humphrey,

>What will happen if at a later point I want to scale back up to 4
replica's? 
>- So what will happen with the data it finds in the existing directory (and 
probably are old), how does it handle this? 

It depends on the time when the node was down. If it was a short period of
time and it's possible to apply delta rebalance - the current partitions
will be updated to the last version. Otherwise, old partitions will be
dropped and full rebalance will happen, like for new nodes. The possibility
of applying delta rebalance depends on configured walHistorySize.

>- What happens in the situation that I shutdown my cluster and restart it 
with 2 replica's. How does ignite know which two of the four directories to 
re-use? 

By default, folder name contains IP and port of node related to this
persistent store's data. So, the newly started node will choose a folder for
the IP and host that it has. Also, it's possible to set consistentId for the
node, in this case, the node will choose folder with the name related to
it's consistentId. 

Evgenii



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

Reply via email to