Shard Tags trump RemoveShard command

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.6.3, 2.6.5
    • Component/s: Sharding
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • 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
            Reporter:
            Jason Ford
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: