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

Fix sleep&retry logic in ShardingCatalogManager::_updateClusterCardinalityParameter

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2024-08-19
    • 0

      ShardingCatalogManager::_updateClusterCardinalityParameter could fail due to ConflictingOperationInProgress when another ConfigsvrCoordinator runs concurrently.

      SERVER-91973 tried to solve the issue by applying a sleep&retry pattern upon that error, however getEffectiveStatus doesn't throw so the sleep&retry logic never gets triggered.

            Assignee:
            pol.pinol@mongodb.com Pol Pinol
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: