[SERVER-32884] Add back deleted sh.waitForBalancer() to utils_sh.js Created: 24/Jan/18  Updated: 30/Oct/23  Resolved: 22/Jun/18

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.6.2
Fix Version/s: 4.1.1

Type: Bug Priority: Major - P3
Reporter: Louis Williams Assignee: Cheahuychou Mao
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2018-07-02
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 22/Jun/18 ]

Author:

{'username': 'cheahuychou', 'name': 'Cheahuychou Mao', 'email': 'cheahuychou.mao@mongodb.com'}

Message: SERVER-32884 Add back deleted sh.waitForBalancer() to utils_sh.js
Branch: master
https://github.com/mongodb/mongo/commit/cad96f75c950464eb7ad029976ed568998c6e0b3

Generated at Thu Feb 08 04:31:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.