Retry ShardingCatalogManager::_updateClusterCardinalityParameter on ConflictingOperationInProgress errors

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: