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

Retry ShardingCatalogManager::_updateClusterCardinalityParameter on ConflictingOperationInProgress errors

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2024-07-08
    • 0

      ShardingCatalogManager::_updateClusterCardinalityParameter can fail due to ConflictingOperationInProgress when another ConfigsvrCoordinator is running concurrently. This is benign, but can cause transient glitches where add/removeShard fails. To prevent this, we can retry _updateClusterCardinalityParameter upon ConflictingOperationInProgress, similarly to what we already do for setAddOrRemoveShardInProgressClusterParam

            Assignee:
            robert.sander@mongodb.com Robert Sander
            Reporter:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: