[SERVER-44305] Remove unnecessary iterations in balance_repl.js Created: 29/Oct/19  Updated: 14/Nov/19  Resolved: 14/Nov/19

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

Type: Task Priority: Major - P3
Reporter: Randolph Tan Assignee: Anton Oyung
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: Sharding 2019-11-18
Participants:

 Description   

There is no need to perform moveChunk multiple times. One should be enough:
https://github.com/mongodb/mongo/blob/r4.3.0/jstests/sharding/balance_repl.js#L50

Also delete outdated comment:
https://github.com/mongodb/mongo/blob/r4.3.0/jstests/sharding/balance_repl.js#L51



 Comments   
Comment by Githook User [ 14/Nov/19 ]

Author:

{'name': 'Anton Oyung', 'username': 'AntonOyung', 'email': 'anton.oyung@mongodb.com'}

Message: SERVER-44305: Remove unnecessary iterations in balance_repl.js
Branch: master
https://github.com/mongodb/mongo/commit/971cbf716b3503556820b38fd617825769392a1a

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