diff options
Diffstat (limited to 'jstests/concurrency/fsm_workloads/random_moveChunk_base.js')
-rw-r--r-- | jstests/concurrency/fsm_workloads/random_moveChunk_base.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/concurrency/fsm_workloads/random_moveChunk_base.js b/jstests/concurrency/fsm_workloads/random_moveChunk_base.js index a35c1ce5c5a..2b0c736cb4e 100644 --- a/jstests/concurrency/fsm_workloads/random_moveChunk_base.js +++ b/jstests/concurrency/fsm_workloads/random_moveChunk_base.js @@ -93,8 +93,9 @@ var $config = extendWorkload($config, function($config, $super) { // limited number of retries with exponential backoff. const bounds = this.calculateChunkBoundsForShardKey(collName, chunk); const waitForDelete = Random.rand() < 0.5; + const secondaryThrottle = Random.rand() < 0.5; try { - ChunkHelper.moveChunk(db, collName, bounds, toShard, waitForDelete); + ChunkHelper.moveChunk(db, collName, bounds, toShard, waitForDelete, secondaryThrottle); } catch (e) { // Failed moveChunks are thrown by the moveChunk helper with the response included as a // JSON string in the error's message. |