Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12952

Investigate changes in SERVER-11328: 4.4 only Allow concurrent draining shards

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1, 4.2.1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Downstream Change Summary

      4.4 ONLY::: Update the sharding documentation where it says that only one shard can be in the removing state.

      Description of Linked Ticket

      Currently only one shard can be removed at a time. I trust that this was changed for a good reason but I feel a distinction should be made between actively draining a shard (which was problematic to do for more than one shard at the same time apparently) and tagging a shard as draining.

      The reason being is currently if we want to remove 5 shards for example and when the first of those 5 shards is draining it will potentially move its chunks to one of the other 4 shards that we want to remove anyway. This makes our cluster down scales unnecessarily slow since it's needlessly moving the same chunks around multiple times.

      The proposed solution is as follows :

      • Allow marking multiple shards as "draining"
      • Balancer picks one of these draining shards as the one that is going to be drained completely
      • Balancer avoids moving chunks to shards that are marked as "draining"

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              4 years, 6 weeks, 2 days ago