According to the elasticsearch documentation, the rule for the write_consistency quorum is:
quorum (> replicas / 2 + 1)
Using ES 0.19.10, with 16 skulls / 3 replicas, we get 16 primary fragments of 48 replicas
By launching 2 nodes, we will have 16 (primary) + 16 (replicas) = 32 active fragments.
To comply with the quorum rule, a quorum> 48/2 + 1 = 25 active fragments.
Now, testing this proves differently, the write_consistency level is not executed (the time it takes to write operations) until 3 nodes are started. This approach makes sense, since we can get a split brain between groups of 2 nodes each in this setup, but I don’t quite understand how this rule should work? Am I using the wrong numbers here?
elasticsearch
runarM
source share