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

modify stopBalancer to explicitly wait for the completion of outstanding migrations

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Sharding EMEA 2023-05-15

      The stopBalancer is a synchronous command which returns the control to the user once the Balancer thread has ended or interrupted its most recent round of chunk migrations.

      This behaviour does not always guarantee that once the control is returned, there won't be any shard that is still serving a chunk migration issued by the balancer.

      The implementation of stopBalancer may be modified to add such guarantee.

            Assignee:
            Unassigned Unassigned
            Reporter:
            paolo.polato@mongodb.com Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: