I got a deployment with three nodes:
A: priority 2, vote 1
B: priority 1, vote 1
C: priority 0, vote 1
In normal case, A is Primary, B/C are Secondary. Assume the at a time point, B got oplog the timestamp of which is 100, C got 110. Then A crash, What will happen exactly?
As describe in this document, Priority 0 Replica Set Members will never become primary, so I think B will become primary, but what about the data. I’m using MongoDB 4.4 BTW.
Thanks for any input.
It depends on the Write Concern Read the document and if you have questions, then asked it here.