[SERVER-45089] Make sure a missing “term” field is treated as term -1 Created: 12/Dec/19  Updated: 29/Oct/23  Resolved: 24/Feb/20

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

Type: Task Priority: Major - P3
Reporter: Siyuan Zhou Assignee: Ali Mir
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-45077 Add a new “term” field to the config ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2020-02-24, Repl 2020-03-09
Participants:

 Description   

Force reconfig doesn't have term, so they should be treated as term -1.



 Comments   
Comment by Githook User [ 22/Feb/20 ]

Author:

{'name': 'Ali Mir', 'username': 'ali-mir', 'email': 'ali.mir@mongodb.com'}

Message: SERVER-45089 Assert force reconfig with missing term field results in default -1 term
Branch: master
https://github.com/mongodb/mongo/commit/c4b918f7335495a8d5fc7f70ed14a9d674a4f289

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