[SERVER-32909] Update --repair to restore a missing featureCompatibilityVersion document per 4.0 semantics Created: 25/Jan/18  Updated: 30/Oct/23  Resolved: 20/Feb/18

Status: Closed
Project: Core Server
Component/s: Upgrade/Downgrade
Affects Version/s: None
Fix Version/s: 3.7.3

Type: Task Priority: Major - P3
Reporter: Maria van Keulen Assignee: Dianna Hohensee (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-32838 Refuse to restore the featureCompatib... Closed
Gantt Dependency
has to be done after SERVER-32741 Bump the default value of the feature... Closed
Related
is related to SERVER-29452 Handle missing featureCompatibilityVe... Closed
is related to SERVER-32807 Move the FCV on mongod start-up testi... Closed
Backwards Compatibility: Fully Compatible
Sprint: Storage 2018-02-12, Storage 2018-02-26
Participants:

 Description   

In 3.6, a missing featureCompatibilityVersion document could be restored by running the database with --repair (see SERVER-29452). In 4.0, the document should be similarly restored, except --repair should fail unless all collections have UUIDs and otherwise restore the featureCompatibilityVersion document with "version" equal to 3.6. The set_feature_compatibility_version.js test contains testing for using --repair to restore the featureCompatibilityVersion document. This testing should be updated to reflect the new semantics and new fCV values.



 Comments   
Comment by Githook User [ 20/Feb/18 ]

Author:

{'email': 'dianna.hohensee@10gen.com', 'name': 'Dianna Hohensee', 'username': 'DiannaHohensee'}

Message: SERVER-32909 Update --repair to restore a missing featureCompatibilityVersion document per 4.0 semantics
Branch: master
https://github.com/mongodb/mongo/commit/bab869b757be09d36109514b5bf797181bd7a37b

Comment by Dianna Hohensee (Inactive) [ 29/Jan/18 ]

--repair testing should be updated on this ticket. Also, jstests/multiVersion/set_feature_compatibility_version.js used to test --repair across binary versions, but this was removed by SERVER-32829 and should perhaps be reintroduced here to test the new behavior.

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