diff options
author | Louis Williams <louis.williams@mongodb.com> | 2020-08-25 11:43:22 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-08-25 16:24:36 +0000 |
commit | 1b5ad38af0198049a022d68edc4f8ced9a901124 (patch) | |
tree | 1eb1e4279b8ef0f0c2a25cce99b77be1bc5b83ef /src/mongo/db/catalog/index_consistency.cpp | |
parent | c8b7857db7d31c5b80dba7dd012223a108a95cfd (diff) | |
download | mongo-1b5ad38af0198049a022d68edc4f8ced9a901124.tar.gz |
SERVER-49842 Startup repair should rebuild indexes when validate index inconsistencies exceed the memory limit
Diffstat (limited to 'src/mongo/db/catalog/index_consistency.cpp')
-rw-r--r-- | src/mongo/db/catalog/index_consistency.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/index_consistency.cpp b/src/mongo/db/catalog/index_consistency.cpp index 7521ae3fcbb..e796600e4c5 100644 --- a/src/mongo/db/catalog/index_consistency.cpp +++ b/src/mongo/db/catalog/index_consistency.cpp @@ -447,6 +447,7 @@ bool IndexConsistency::limitMemoryUsageForSecondPhase(ValidateResults* result) { ss << "Not all index entry inconsistencies are reported due to memory limitations. " << memoryLimitMessage.str(); result->errors.push_back(ss.str()); + result->valid = false; return true; } |