You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by yangjiajun <13...@qq.com> on 2018/10/26 15:26:09 UTC

Question about baseline topology.

Hi,I'm puzzled after testing baseline topology.

Here is my experiment:
1.Start a node A with persistence enabled and use it as a database.
2.Add data to a table with replicated template.
3.Start node B to join A.
4.Add B to baseline.
5.Count data from node B by jdbc.The result is correct.
6.Shut down node A.
7.Count data from node B by jdbc again.The result is incorrect.Actually is
0.

My question is:
According to my understanding of baseline topology,node B should sync data
from node A.Is my understanding correct?What's wrong with my experiment.



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

Re: Question about baseline topology.

Posted by aealexsandrov <ae...@gmail.com>.
Hi,

Do you set backups in your cache configuration? By default in case if you
have 2 data nodes without backups then you can face data loss when some of
your nodes will go down. In this case, you may see not all data.

But when this node will start (with persistence) and join to topology then
data from it will be available again (after rebalance).

Also, you could read about:

https://apacheignite.readme.io/docs/partition-loss-policies

BR,
Andrei



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