-
Type: Task
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Storage, Upgrade/Downgrade
-
Storage NYC 2018-07-16
As of SERVER-29452, the featureCompatibilityVersion document can be restored after being accidentally deleted via --repair. As of SERVER-29453, it is prohibited to remove the FCV document. One danger with having this behavior is it potentially allows users to force an FCV upgrade by removing the FCV document (or using a workaround to avoid the handling in SERVER-29453) and then running --repair with a newer binary version. MongoDB 4.0 handled this risk by refusing to repair the FCV document unless all collections had UUIDs. This handling will not address the risk of someone removing the document in MongoDB 3.6 and then running --repair with MongoDB 4.2. The usefulness of this --repair behavior should be re-evaluated with respect to the risks and costs of keeping it around.
- is related to
-
SERVER-29452 Handle missing featureCompatibilityVersion document during startup
- Closed
-
SERVER-29453 Disallow removing the featureCompatibilityVersion document
- Closed