[SERVER-47157] Require ReplSetMetadata.configTerm Created: 27/Mar/20  Updated: 29/Oct/23  Resolved: 09/Apr/20

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

Type: Improvement Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Fixed Votes: 0
Labels: safe-reconfig-related
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-47096 Include configTerm in ReplSetMetadata Closed
Gantt End to End
has to be finished together with SERVER-47125 Require ReplSetMetadata.isPrimary, re... Closed
Backwards Compatibility: Minor Change
Sprint: Repl 2020-04-20
Participants:

 Description   

In 4.6, we can rely on the field introduced in 4.4 (SERVER-47096).



 Comments   
Comment by Githook User [ 09/Apr/20 ]

Author:

{'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}

Message: SERVER-47157 Require ReplSetMetadata.configTerm
Branch: master
https://github.com/mongodb/mongo/commit/b69c1496a903bcdf8a99849e6420e6d6259e1770

Comment by A. Jesse Jiryu Davis [ 06/Apr/20 ]

Do this ticket together with SERVER-47125 so we can delete the MetadataCanBeConstructedFrom42 test from repl_set_metadata_test.cpp.

Comment by A. Jesse Jiryu Davis [ 06/Apr/20 ]

If I commit this change to master, multiversion tests will fail because the previous release is 4.3.5, which does not yet have configTerm. We need to wait for 4.4.0-rc0 to be released, I think.

Comment by A. Jesse Jiryu Davis [ 30/Mar/20 ]

We must not backport it! This change must happen after we drop support for mixed replica sets with 4.2 nodes, which lack the configTerm field. We'll drop support for 4.2 nodes in the 4.6 cycle.

Comment by Siyuan Zhou [ 30/Mar/20 ]

jesse, what do you think is the impact of this issue? Should we prioritize this? Should we backport this to 4.4?

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