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

merge setFeatureCompatibilityVersion and _configsvrSetFeatureCompatibilityVersion

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2017-10-02, Sharding 2017-10-23
    • 0

      Currently, the schema upgrade work is done in SetFeatureCompatibilityVersionCmd::run(), which is not run when config servers run _configsvrSetFeatureCompatibilityVersion upgrade, and so collections in config do not get assigned UUIDs.

      This ticket should make setFeatureCompatibilityVersion take a ResourceMutex so that only one instance of it can run at a time.

      It should also prevent a user from initiating downgrade while a previous upgrade has not completed and vice versa.

            Assignee:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Reporter:
            maria.vankeulen@mongodb.com Maria van Keulen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: