[SERVER-31004] persist term and initialize to it on protocol version upgrade Created: 08/Sep/17  Updated: 06/Dec/22  Resolved: 14/Dec/17

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

Type: Bug Priority: Major - P3
Reporter: Judah Schvimer 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
Related
related to SERVER-31002 minValid should alway be set to exist... Closed
related to SERVER-31039 set minvalid term to -1 on pv1 downgrade Closed
related to SERVER-32209 Reset the in-memory optimes on PV dow... Closed
Assigned Teams:
Replication
Operating System: ALL
Participants:
Case:
Linked BF Score: 0

 Description   

We always restart the term at 0 when we upgrade to pv1, even if we previously downgraded. this can lead to oplog entries going back in time, which can lead to many different bugs.


Generated at Thu Feb 08 04:25:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.