Perform majority noop write in _shardsvrJoinDDLCoordinators

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-05-26, CAR Team 2025-06-09, CAR Team 2025-06-23, CAR Team 2025-07-07, CAR Team 2025-07-21, CAR Team 2025-08-04
    • 200
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      _shardsvrJoinDDLCoordinators essentially calls ShardingDDLCoordinatorService::waitForOngoingCoordinatorsToFinish. There could be a situation in which, after waiting for DDLs to drain, the primary is no longer primary due to some split brain scenario. A noop majority write before returning from the command would solve the issue.

            Assignee:
            Paolo Polato
            Reporter:
            Aitor Esteve Alvarado
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: