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

Add back deleted sh.waitForBalancer() to utils_sh.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.1
    • Affects Version/s: 3.6.2
    • Component/s: Sharding
    • Fully Compatible
    • ALL
    • Sharding 2018-07-02

      Since SERVER-27550, the function sh.waitForBalancer() does not exist because it was deleted. The documentation for MongoDB 3.6 still lists it as existing: https://docs.mongodb.com/v3.6/reference/method/sh.waitForBalancer/#sh.waitForBalancer

      The function is useful to users. Similar code exists in our testing frameworks to wait for migrations to finish.

            Assignee:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: