[SERVER-31209] need to store upgrade/downgrade in progress for sharding Created: 21/Sep/17  Updated: 30/Oct/23  Resolved: 03/Oct/17

Status: Closed
Project: Core Server
Component/s: Sharding, Storage
Affects Version/s: None
Fix Version/s: 3.6.0-rc0

Type: Bug Priority: Major - P3
Reporter: Geert Bosch Assignee: Louis Williams
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-30515 disallow initiating cluster FCV downg... Closed
is depended on by SERVER-31068 make config server update fcv 'target... Closed
Problem/Incident
causes SERVER-31783 Secondaries may generate a UUID for a... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Storage 2017-10-02, Storage 2017-10-23
Participants:
Linked BF Score: 0

 Description   

For sharding we need to know whether an upgrade or downgrade is in process, so in the setFeatureCompatibilityVersion command, where we set the schema version (featureCompatibility.isSchemaVersion36, we need to majority write a targetVersion field in the feature compatibility document with value "3.4" or "3.6" depending on the target schema version.

Before successful completion, the targetVersion field must be cleared. Upgrade/downgrade must be idempotent. As the parser for the setFeatureCompatibilityVersion needs to be changed, we should aim to transition it to IDL unless that expands the scope of this ticket too much.



 Comments   
Comment by Githook User [ 03/Oct/17 ]

Author:

{'email': 'louis.williams@mongodb.com', 'name': 'Louis Williams', 'username': 'louiswilliams'}

Message: SERVER-31209 Persist targetVersion in FCV document to indicate an upgrade/downgrade in progress.
Branch: master
https://github.com/mongodb/mongo/commit/e0359268121833e7c29d62e5dff28532910b996f

Comment by Githook User [ 28/Sep/17 ]

Author:

{'email': 'louis.williams@mongodb.com', 'name': 'Louis Williams', 'username': 'louiswilliams'}

Message: Revert "SERVER-31209 Persist targetVersion in FCV document to indicate an upgrade/downgrade in progress."

This reverts commit b0b99866781302ba8b16de033ff2681f20483c14.
Branch: master
https://github.com/mongodb/mongo/commit/0309fa8091bdf7d6663a02fefd5d61ae0965e7b1

Comment by Githook User [ 28/Sep/17 ]

Author:

{'email': 'louis.williams@mongodb.com', 'name': 'Louis Williams', 'username': 'louiswilliams'}

Message: SERVER-31209 Persist targetVersion in FCV document to indicate an upgrade/downgrade in progress.
Branch: master
https://github.com/mongodb/mongo/commit/b0b99866781302ba8b16de033ff2681f20483c14

Comment by Ian Whalen (Inactive) [ 26/Sep/17 ]

Marking for RC0 since this is depended on by SERVER-31068, also RC0. esha.maharishi will talk with Geert and Louis and bump out if this turns out not to be the case.

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