[SERVER-46379] Implement upgrade/downgrade support for Initial Sync Semantics Created: 24/Feb/20  Updated: 29/Oct/23  Resolved: 30/May/20

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

Type: Task Priority: Major - P3
Reporter: Judah Schvimer Assignee: Suganthi Mani
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-59106 Remove uassert for when newlyAdded fi... Closed
is related to SERVER-57602 Deadlock between signalDrainComplete ... Closed
is related to SERVER-48545 Remove upgrade/downgrade support for ... Closed
is related to SERVER-48793 Remove "targetIndex" from Replication... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2020-05-04, Repl 2020-05-18, Repl 2020-06-01
Participants:

 Description   

This still requires a bit of design, but creating this ticket as a holding place for that work.



 Comments   
Comment by Githook User [ 30/May/20 ]

Author:

{'name': 'Suganthi Mani', 'email': 'suganthi.mani@mongodb.com', 'username': 'smani87'}

Message: SERVER-46379 upgrade/downgrade support for initial sync semantics.
Branch: master
https://github.com/mongodb/mongo/commit/d00b75bfcac3ac74036ac6c2ceec4e8b42ac93a0

Comment by Judah Schvimer [ 18/Mar/20 ]

As described in the design:

  • Config rewrites to include a ‘newlyAdded’ field will be gated on FCV 4.6.
    • This will prevent different nodes in a mixed-version set from calculating vote totals and majorities differently.
  • FCV downgrade will fail if ‘newlyAdded’ exists in the replica set config on any node, and will wait for that to be the case.
Comment by Xuerui Fa [ 02/Mar/20 ]

Required work once FCV 4.4 gating has been added:

  • Remove the feature flag added in SERVER-46379 gating the newlyAdded field for members in ReplSetConfig
  • Add FCV 4.4 gating for the newlyAdded field
Generated at Thu Feb 08 05:11:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.