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

Shard Tags trump RemoveShard command

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.6.3, 2.6.5
    • Sharding
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: