[SERVER-53641] In PV0, do not check that current term matches oplog term when stepping up Created: 07/Jan/21  Updated: 06/Dec/22  Resolved: 11/Jan/21

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Matthew Russotto Assignee: Backlog - Replication Team
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Assigned Teams:
Replication
Operating System: ALL
Participants:
Linked BF Score: 0

 Description   

PV0 doesn't have a term and doesn't write an oplog entry on step-up, so this check is erroneous.

Check is here:

https://github.com/mongodb/mongo/blob/edef7b84252948c604743a0ad55510027b5ad71d/src/mongo/db/repl/topology_coordinator.cpp#L3101


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