[SERVER-44103] clear_jumbo.js should wait for balancer to be on mode: full for more than one round Created: 18/Oct/19  Updated: 29/Oct/23  Resolved: 23/Oct/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.3.1, 4.2.4, 4.0.16

Type: Bug Priority: Major - P3
Reporter: Randolph Tan Assignee: Cheahuychou Mao
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.2, v4.0
Sprint: Sharding 2019-10-21, Sharding 2019-11-04
Participants:
Linked BF Score: 19

 Description   

Currently, it only waits for balancer round number to go up:

https://github.com/mongodb/mongo/blob/ffc6e38bc90750cc639317fc713e7bc4e0bf596e/jstests/sharding/clear_jumbo.js#L89

However, this is problematic because the balancer round also gets incremented every time the balancer skips (and does nothing). Instead, the condition should be "balancer in mode: full for more than 1 round".



 Comments   
Comment by Githook User [ 27/Jan/20 ]

Author:

{'email': 'randolph@mongodb.com', 'name': 'Randolph Tan'}

Message: SERVER-44103 clear_jumbo.js should wait for balancer to be on mode: full for more than one round

(cherry picked from commit 7e7a45333cbab5ded49543ee2b09611f77792a51)
Branch: v4.2
https://github.com/mongodb/mongo/commit/ea29d8568d1ce08684e6217ca3baf60a84378bc8

Comment by Githook User [ 27/Jan/20 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@mongodb.com'}

Message: SERVER-44103 clear_jumbo.js should wait for balancer to be on mode: full for more than one round

(cherry picked from commit 7e7a45333cbab5ded49543ee2b09611f77792a51)
Branch: v4.0
https://github.com/mongodb/mongo/commit/7e18342b53dbb2e49898d175d14c42b68908202e

Comment by Githook User [ 23/Oct/19 ]

Author:

{'name': 'Chou Mao', 'username': 'cheahuychou', 'email': 'chou.mao@10gen.com'}

Message: SERVER-44103 clear_jumbo.js should wait for balancer to be on mode: full for more than one round
Branch: master
https://github.com/mongodb/mongo/commit/7e7a45333cbab5ded49543ee2b09611f77792a51

Generated at Thu Feb 08 05:05:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.