modify stopBalancer to explicitly wait for the completion of outstanding migrations

XMLWordPrintableJSON

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

      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
              Reporter:
              Paolo Polato
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: