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

Make _configsvrRefineCollectionShardKey return if shard key is already refined before checking for StaleEpoch

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: 4.3 Required
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Sharding 2019-08-26
    • 0

      A config server stepdown may cause the mongos to retry _configsvrRefineCollectionShardKey even though it has successfully refined the shard key. This results in a StaleEpoch error. Checking that the shard key has already been refined before checking for a StaleEpoch error will fix this bug.

            Assignee:
            jamie.heppenstall@mongodb.com James Heppenstall (Inactive)
            Reporter:
            jamie.heppenstall@mongodb.com James Heppenstall (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: