[SERVER-46571] Shard server replica set nodes shouldn't write config 'term' field on startup in FCV 4.2 Created: 03/Mar/20  Updated: 29/Oct/23  Resolved: 04/Mar/20

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.4.0-rc0, 4.4.0-rc1, 4.7.0

Type: Bug Priority: Major - P3
Reporter: William Schultz (Inactive) Assignee: William Schultz (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
related to SERVER-31634 FeatureCompatibilityVersion::setIfCle... Closed
related to SERVER-46288 Reconfig in 4.2 style with the curren... Closed
is related to SERVER-47119 Config term does not get initialized ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Repl 2020-03-09
Participants:
Linked BF Score: 50

 Description   

Shard server replica set nodes in binary version 4.4 start up in FCV 4.2 by default. If they are downgraded to a v4.2 binary, the node will crash when trying parse the config 'term' field on startup. We should not write the config 'term' field when these nodes start up in FCV 4.2.



 Comments   
Comment by William Schultz (Inactive) [ 07/Apr/20 ]

These changes were reverted on master (4.5 dev branch) in SERVER-47119.

Comment by Kelly Lewis [ 12/Mar/20 ]

Hi william.schultz, with this ticket and its backport complete, are you able to close BF-16416?

Comment by Githook User [ 04/Mar/20 ]

Author:

{'name': 'William Schultz', 'username': 'will62794', 'email': 'william.schultz@mongodb.com'}

Message: SERVER-46571 Give initial replica set configs a term of -1

(cherry picked from commit a2eeeedb3e358f9a71042a2ff752b67844d4dcf7)
Branch: v4.4
https://github.com/mongodb/mongo/commit/f79573123e85a2ba495d2d46a2f959265a311da7

Comment by Githook User [ 04/Mar/20 ]

Author:

{'username': 'will62794', 'name': 'William Schultz', 'email': 'william.schultz@mongodb.com'}

Message: SERVER-46571 Give initial replica set configs a term of -1
Branch: master
https://github.com/mongodb/mongo/commit/a2eeeedb3e358f9a71042a2ff752b67844d4dcf7

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