[SERVER-52744] rollback node's lastApplied > sync source's lastApplied in rollback_after_enabling_majority_reads.js Created: 10/Nov/20  Updated: 29/Oct/23  Resolved: 12/Jan/21

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.4.3, 4.2.12, 4.0.23

Type: Bug Priority: Major - P3
Reporter: Pavithra Vetriselvan Assignee: Pavithra Vetriselvan
Resolution: Fixed Votes: 0
Labels: bkp
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4, v4.2, v4.0
Sprint: Repl 2020-11-16
Participants:
Linked BF Score: 55

 Description   

For rollbackViaRefetch, we must ensure that the sync source's lastApplied > rollback node's lastApplied before the rollback node enters rollback so that it can successfully transition from RECOVERING to SECONDARY at the end.



 Comments   
Comment by Githook User [ 15/Jan/21 ]

Author:

{'name': 'Pavi Vetriselvan', 'email': 'pavithra.vetriselvan@mongodb.com', 'username': 'pvselvan'}

Message: SERVER-52744 rollback_after_enabling_majority_reads.js should ensure sync source's lastApplied > rollback node's

(cherry picked from commit 6623c6adf0445f1f63afe7a51433a1f5cbf4b4e1)
(cherry picked from commit a5fdda63afb540beca3743051666856fc05e3fbf)
Branch: v4.0
https://github.com/mongodb/mongo/commit/ef7a9ac218e200c754c799effc83a3328a3653f4

Comment by Githook User [ 14/Dec/20 ]

Author:

{'name': 'Pavi Vetriselvan', 'email': 'pavithra.vetriselvan@mongodb.com', 'username': 'pvselvan'}

Message: Revert "SERVER-52744 rollback_after_enabling_majority_reads.js should ensure sync source's lastApplied > rollback node's"

This reverts commit a5fdda63afb540beca3743051666856fc05e3fbf.
Branch: v4.0
https://github.com/mongodb/mongo/commit/f7a2ba817a319de80932aeb50d92908f58ec8510

Comment by Githook User [ 07/Dec/20 ]

Author:

{'name': 'Pavi Vetriselvan', 'email': 'pavithra.vetriselvan@mongodb.com', 'username': 'pvselvan'}

Message: SERVER-52744 rollback_after_enabling_majority_reads.js should ensure sync source's lastApplied > rollback node's

(cherry picked from commit 6623c6adf0445f1f63afe7a51433a1f5cbf4b4e1)
Branch: v4.0
https://github.com/mongodb/mongo/commit/a5fdda63afb540beca3743051666856fc05e3fbf

Comment by Githook User [ 07/Dec/20 ]

Author:

{'name': 'Pavi Vetriselvan', 'email': 'pavithra.vetriselvan@mongodb.com', 'username': 'pvselvan'}

Message: SERVER-52744 rollback_after_enabling_majority_reads.js should ensure sync source's lastApplied > rollback node's

(cherry picked from commit 6623c6adf0445f1f63afe7a51433a1f5cbf4b4e1)
Branch: v4.2
https://github.com/mongodb/mongo/commit/9c2c85fd6508e42ba3c277935e79b16cbe0237a5

Comment by Githook User [ 07/Dec/20 ]

Author:

{'name': 'Pavi Vetriselvan', 'email': 'pavithra.vetriselvan@mongodb.com', 'username': 'pvselvan'}

Message: SERVER-52744 rollback_after_enabling_majority_reads.js should ensure sync source's lastApplied > rollback node's

(cherry picked from commit 6623c6adf0445f1f63afe7a51433a1f5cbf4b4e1)
Branch: v4.4
https://github.com/mongodb/mongo/commit/5b31ee18c899e02e08fed6fbffd9cff7833603f0

Comment by Githook User [ 14/Nov/20 ]

Author:

{'name': 'Pavi Vetriselvan', 'email': 'pavithra.vetriselvan@mongodb.com', 'username': 'pvselvan'}

Message: SERVER-52744 rollback_after_enabling_majority_reads.js should ensure sync source's lastApplied > rollback node's
Branch: master
https://github.com/mongodb/mongo/commit/6623c6adf0445f1f63afe7a51433a1f5cbf4b4e1

Generated at Thu Feb 08 05:28:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.