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

sh.startBalancer should be smarter about balancing windows

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

      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:
            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            Reporter:
            kevin.pulo@mongodb.com Kevin Pulo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: