removeShard returns ShardNotFound if step-up/step-down occurs

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.5.12
    • Component/s: Sharding
    • None
    • Sharding
    • ALL
    • Sharding 2017-09-11
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When removeShard is called during a step-up/step-down, the primary config node could finish removing the shard, but not return the response.

      In this case, the next time removeShard is called, the new primary config node will return ShardNotFound instead of DrainingStatus::Completed, since the shard has already been removed.

              Assignee:
              [DO NOT USE] Backlog - Sharding Team
              Reporter:
              Hugh Han (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: