Move existing upgrade metadata changes after enabling target FCV features

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 8.3.0-rc0
    • Component/s: Upgrade/Downgrade
    • None
    • Catalog and Routing
    • 🟩 Routing and Topology
    • None
    • None
    • None
    • None
    • None
    • None

      Move all possible metadata transformations during upgrade (currently done on _userCollectionsWorkForUpgrade and _upgradeServerMetadata) to the new phase added by SERVER-119485, which runs after target version features are enabled.

      This will close the race conditions where this interleaving is possible:
      1. Existing old format metadata is transformed.
      2. Since the feature is still disabled, an operation persists new old format metadata.
      3. The feature is enabled.

            Assignee:
            Unassigned
            Reporter:
            Joan Bruguera Micó
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: