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

Shard Tags trump RemoveShard command

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.6.3, 2.6.5
    • Component/s: Sharding
    • Labels:
      None

      When removing a shard from a cluster where tags have been assigned to that particular shard, the removeShard admin command will not remove chunks that fall within that tag range.

      This is resolvable by removing the shard tag from that shard, and assigning to one (or more) other shards, at which point the balancer takes care of removing the remaining chunks.

      I'm not sure if this behavior is intended, but I would have assumed that the removeShard command would "trump" the shard tags.

            Assignee:
            Unassigned Unassigned
            Reporter:
            fordjp@gmail.com Jason Ford
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: