diff options
author | Pierlauro Sciarelli <pierlauro.sciarelli@mongodb.com> | 2020-12-30 11:04:23 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-12-30 16:04:58 +0000 |
commit | 95c5037e67db28463465b34f33a62872226508eb (patch) | |
tree | 2504415975e05992b017613d4b776794ad32612e /src/mongo/db/s/metadata_manager.cpp | |
parent | a933a819fa11163b764f0bad2ada0af266d26e1f (diff) | |
download | mongo-95c5037e67db28463465b34f33a62872226508eb.tar.gz |
SERVER-53471 Set rangeDeleterBatchSize to 128
Diffstat (limited to 'src/mongo/db/s/metadata_manager.cpp')
-rw-r--r-- | src/mongo/db/s/metadata_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/metadata_manager.cpp b/src/mongo/db/s/metadata_manager.cpp index 035609899a8..7a11f7fd699 100644 --- a/src/mongo/db/s/metadata_manager.cpp +++ b/src/mongo/db/s/metadata_manager.cpp @@ -374,7 +374,7 @@ SharedSemiFuture<void> MetadataManager::_submitRangeForDeletion( int maxToDelete = rangeDeleterBatchSize.load(); if (maxToDelete <= 0) { - maxToDelete = std::max(int(internalQueryExecYieldIterations.load()), 1); + maxToDelete = kDefaultRangeDeleterBatchSize; } auto cleanupComplete = |