I am trying to figure out how to parameterize my cluster with two nodes in order to have an exact copy if one of them does not work ... using these tools to check this: http://www.ecyrd.com/cassandracalculator/
For the following parameters:
Cluster size: 2 / Replication Factor: 2 / Write Level: All / Read Level: One
he gives me the results:
- Your messages are consistent
- You can survive a loss without knots .
- You really read from 1 node every time .
- You really write 2 nodes each time .
- Each node contains 100% of your data.
I agree with all of these results, except for one: "You can survive without losing nodes." I donโt understand why the cluster cannot survive due to the loss of the node, if it dies, โWrite: ALLโ will write only one node to the left, right? Then, when I return the second node, it should synchronize with the 1st, and accept the record again, right?
If I'm wrong, can someone explain to me why?
EDIT:
An additional configuration will give me the same results, with the exception of the% holding:
Cluster size: 3 / Replication Factor: 2 / Write Level: All / Read Level: One
Cluster size: 3 / Replication Factor: 2 / Write Level: Quorum / Read Level: One
Even if I try to match Reads, not Writes:
Cluster size: 2 / Replication Factor: 2 / Write Level: One / Read Level: Quorum
Every time he tells me that I cannot suffer a loss on any node.
source
share