summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog
diff options
context:
space:
mode:
authorGregory Noma <gregory.noma@gmail.com>2020-03-17 16:44:19 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-03-17 21:20:40 +0000
commitaef7cbf49c396df95c02606a9e94d26c892e53ed (patch)
tree6a86b91607027d4cff07d86590070372dfab4f00 /src/mongo/db/catalog
parentff6ade2e2316f7300306c0047a2188177b387610 (diff)
downloadmongo-aef7cbf49c396df95c02606a9e94d26c892e53ed.tar.gz
SERVER-46468 Allow up to 1MB each for extra index entry errors and missing index entry errors in validate
Diffstat (limited to 'src/mongo/db/catalog')
-rw-r--r--src/mongo/db/catalog/index_consistency.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/catalog/index_consistency.cpp b/src/mongo/db/catalog/index_consistency.cpp
index 562092bc017..ff772190369 100644
--- a/src/mongo/db/catalog/index_consistency.cpp
+++ b/src/mongo/db/catalog/index_consistency.cpp
@@ -112,8 +112,8 @@ void IndexConsistency::addIndexEntryErrors(ValidateResultsMap* indexNsResultsMap
ValidateResults* results) {
invariant(!_firstPhase);
- // We'll report up to 1MB for extra index entry errors and missing index entry errors combined.
- const int kErrorSizeBytes = 500 * 1024;
+ // We'll report up to 1MB for extra index entry errors and missing index entry errors.
+ const int kErrorSizeBytes = 1 * 1024 * 1024;
long numMissingIndexEntriesSizeBytes = 0;
long numExtraIndexEntriesSizeBytes = 0;