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

The ShardingCatalogManager::_runCommandForAddShard() helper function is not resilient to retriable errors.

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing

      The addShard command relies on the ShardingCatalogManager::_runCommandForAddShard() helper function to send remote commands to the replica set being added. 

      Nowadays, any retry-able error returned by replica set (like the ones caused by a stepdown event) are directly returned to the end user, remapped as an OperationFailed error.

            Assignee:
            Unassigned Unassigned
            Reporter:
            paolo.polato@mongodb.com Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: