From 0b4235494fef91d8a7e6e811b7cd103460239a87 Mon Sep 17 00:00:00 2001 From: Allison Easton Date: Mon, 7 Feb 2022 14:12:22 +0000 Subject: [PATCH] Reproducing the bulk insert problem --- jstests/sharding/defragment_large_collection.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jstests/sharding/defragment_large_collection.js b/jstests/sharding/defragment_large_collection.js index f86019e499..6f9ff4d5b2 100644 --- a/jstests/sharding/defragment_large_collection.js +++ b/jstests/sharding/defragment_large_collection.js @@ -16,12 +16,12 @@ load("jstests/sharding/libs/defragmentation_util.js"); Random.setRandomSeed(); // Test parameters -const numShards = Random.randInt(7) + 1; -const numChunks = Random.randInt(28) + 2; -const numZones = Random.randInt(numChunks / 2); +const numShards = 2; +const numChunks = 29; +const numZones = 9; const maxChunkFillMB = 20; const maxChunkSizeMB = 30; -const docSizeBytes = Random.randInt(1024 * 1024) + 50; +const docSizeBytes = 21446; const chunkSpacing = 1000; const st = new ShardingTest({ -- 2.17.1