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

ShardingCatalogManagerImpl::addShard() transparently passes retryable errors upstream

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.4.0-rc1
    • Fix Version/s: 3.4.0-rc4
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Sharding 2016-11-21

      Description

      When attempting to validate the new shard, if any remote command fails more than the max retry number of times with a retryable error (e.g., HostUnreachable), the config server will transparently pass this error up to the mongos.

      This will cause the mongos to retry the _configsvrAddShard command on the config server, and if this process happens the max retry number of times, the mongos can mark the config server as failed.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: