-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
Repl 15 (06/03/16), Repl 16 (06/24/16), Repl 17 (07/15/16), Repl 18 (08/05/16)
-
(copied to CRM)
To avoid unnecessary rollback after a PV1 election, the new primary finds the node with the highest lastOpTime, then tries to sync all the oplog from that node to catch up its opTime. This ticket is for the catch-up phase.
If the catch-up timeout expires before we exhaust all the sync source’s oplog entries, the new primary ends the catch-up phase and proceeds to exit drain mode like normal.
If the query from the remote node fails, treat the same as if the catch-up timeout expired. Do not attempt to choose a new sync source.
- is duplicated by
-
SERVER-22502 Replication Protocol 1 rollbacks are more likely during priority takeover
- Closed
-
SERVER-18453 Avoiding Rollbacks in new Raft based election protocol
- Closed
- related to
-
SERVER-26394 prohibit choosing ourselves as a sync source
- Closed