Fix the logic draining inflight chunk migrations while performing an FCV downgrade

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: 8.2.0-rc0
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL
    • CAR Team 2025-06-23, CAR Team 2025-07-07
    • None
    • 3
    • TBD
    • 🟥 DDL
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-74032 introduced new logic to ensure robust generation of change stream events upon a chunk migration commit.
      The functionality involves persisting state according to a backwards incompatible schema, so that the original change also added a https://github.com/10gen/mongo/blame/27185c75f90ef3f4e16f4c915302eda79aab5bfc/src/mongo/db/commands/set_feature_compatibility_version_command.cpp#L876-L886 to setFeatureCompatibilityVersion.
      Nevertheless, today such a condition is incorrectly placed - since it will only be executed in case the gSnapshotFCVInDDLCoordinators is disabled.

            Assignee:
            Paolo Polato
            Reporter:
            Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: