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

Do not allow completely removing tag from all shards if currently in use (in config.tags collection)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: 2.1.2
    • Fix Version/s: None
    • Component/s: Admin, Sharding

      Description

      If you remove a tag from all shards, but it still exists for a chunk (config.tags collection) then the chunk can not be migrated and causes errors during balancing, until the tag is added to a shard.

      When removing a tag from a shard we should validate that it is not used by any chunks (config.tags collection) and if it is then it must not be the last shard with that tag.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-sharding Backlog - Sharding Team
              Reporter:
              scotthernandez Scott Hernandez
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: