summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/index_consistency.cpp
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2019-06-03 10:58:12 -0400
committerGregory Wlodarek <gregory.wlodarek@mongodb.com>2019-06-25 23:05:06 -0400
commit0aa40752886d0c9dd905447c333566990cdf9420 (patch)
tree313facfbf5727d9e3121984685745a2964c7bdaf /src/mongo/db/catalog/index_consistency.cpp
parent8fc31b8d458757478492865c439fd6fb1e4d0e6e (diff)
downloadmongo-0aa40752886d0c9dd905447c333566990cdf9420.tar.gz
SERVER-41537 Use 64K hash buckets instead of 4M for index validation
Diffstat (limited to 'src/mongo/db/catalog/index_consistency.cpp')
-rw-r--r--src/mongo/db/catalog/index_consistency.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/index_consistency.cpp b/src/mongo/db/catalog/index_consistency.cpp
index f8eee17bc60..dbd268727f1 100644
--- a/src/mongo/db/catalog/index_consistency.cpp
+++ b/src/mongo/db/catalog/index_consistency.cpp
@@ -59,7 +59,7 @@ bool largeKeyDisallowed() {
// The number of items we can scan before we must yield.
static const int kScanLimit = 1000;
-static const size_t kNumHashBuckets = 1U << 22;
+static const size_t kNumHashBuckets = 1U << 16;
} // namespace