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

Implement command to know which unsharded collections can be moved

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Catalog and Routing

      SERVER-86295 adds the possibility to track and then move unsharded collections out of a shard. From a user's perspective, when removing a shard (or when transitioning to a dedicated config server) if the user wants to move the collections in an online fashion (as in, not with movePrimary) the user needs to know which collections must be moved.

      The purpose of this ticket is to create a new command that given a shard the command will return the list of unsharded collections that needs to be moved to successfully remove the shard. As precondition, the shard must've been marked as drained, to prevent other migrations from moving collections to the shard.

            Assignee:
            Unassigned Unassigned
            Reporter:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: