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

Shard Tags trump RemoveShard command

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Works as Designed
    • Affects Version/s: 2.6.3, 2.6.5
    • Fix Version/s: None
    • Component/s: Sharding
    • Labels:
      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

            Assignee:
            Unassigned Unassigned
            Reporter:
            fordjp Jason Ford
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: