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

The `removeShard` command is not idempotent for the purposes of the sharding continuous config stepdown suite

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.6.1
    • Labels:
      None
    • Catalog and Routing
    • ALL
    • Hide

      This is causing a new test to fail so should be reevaluated.

      Show
      This is causing a new test to fail so should be reevaluated.
    • 36

      The first invocation of `removeShard`, if retried after a stepdown may actually remove the shard instead of just putting it into 'draining' mode. This makes tests running under the continuous config stepdown suite fail intermittently at lines, which call removeShard.

      This ticket is to figure out what to do about these tests. We should either blacklist them or change them to expect that removeShard might not find the shard (with an appropriate check beforehand that the shard exists).

      Alternatively, we can change the removeShard implementation on mongos to not fail if it found the shard initially, but then got ShardNotFound from the config server.

            Assignee:
            backlog-server-catalog-and-routing [DO NOT USE] Backlog - Catalog and Routing
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: