Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-32909

Update --repair to restore a missing featureCompatibilityVersion document per 4.0 semantics

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.3
    • Component/s: Upgrade/Downgrade
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Storage 2018-02-12, Storage 2018-02-26

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dianna.hohensee Dianna Hohensee
              Reporter:
              maria.vankeulen Maria van Keulen
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: