sh.startBalancer should be smarter about balancing windows

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 3.4.0
    • Affects Version/s: None
    • Component/s: Shell
    • Sharding
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If a balancer window is defined, and sh.startBalancer is run outside the window, then it will timeout after 30s (by default) with a cryptic error message. Better would be if sh.startBalancer noticed that a window is defined, and if the most recent entry in config.mongos indicates that the mongoses are outside the window, then it doesn't wait for the balancer distlock and instead prints a message. See also DOCS-6721.

              Assignee:
              [DO NOT USE] Backlog - Sharding Team
              Reporter:
              Kevin Pulo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: