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

Perform majority noop write in _shardsvrJoinDDLCoordinators

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2025-05-26
    • 1
    • None
    • 3
    • 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@mongodb.com Paolo Polato
            Reporter:
            aitor.esteve@mongodb.com Aitor Esteve Alvarado
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: