Info
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.
Top User Comments
xgen-internal-githook commented on Tue, 3 Oct 2017 19:04:51 +0000:
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
xgen-internal-githook commented on Thu, 28 Sep 2017 20:42:45 +0000:
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
xgen-internal-githook commented on Thu, 28 Sep 2017 15:12:28 +0000:
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
ian@10gen.com commented on Tue, 26 Sep 2017 15:30:00 +0000:
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.