summaryrefslogtreecommitdiff
path: root/src/mongo/db/index/index_access_method.h
diff options
context:
space:
mode:
authorLouis Williams <louis.williams@mongodb.com>2020-08-26 14:49:23 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-08-26 23:17:48 +0000
commitda6de1d8f3a60082d12c7392973ec10afa27e1c0 (patch)
treebaf1dc5e9d1f6910b74197e747cf8a0e4a01f704 /src/mongo/db/index/index_access_method.h
parent6a5d7ae10752697f06d71d6d8c898d7e0f0244bb (diff)
downloadmongo-da6de1d8f3a60082d12c7392973ec10afa27e1c0.tar.gz
SERVER-50185 Update keysPerIndex after repairing index inconsistencies
This also refactors ValidateResult to wrap index-specific validation errors
Diffstat (limited to 'src/mongo/db/index/index_access_method.h')
-rw-r--r--src/mongo/db/index/index_access_method.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/index/index_access_method.h b/src/mongo/db/index/index_access_method.h
index 81e4df363de..c2c3c1e47ca 100644
--- a/src/mongo/db/index/index_access_method.h
+++ b/src/mongo/db/index/index_access_method.h
@@ -167,7 +167,7 @@ public:
*/
virtual void validate(OperationContext* opCtx,
int64_t* numKeys,
- ValidateResults* fullResults) const = 0;
+ IndexValidateResults* fullResults) const = 0;
/**
* Add custom statistics about this index to BSON object builder, for display.
@@ -486,7 +486,7 @@ public:
void validate(OperationContext* opCtx,
int64_t* numKeys,
- ValidateResults* fullResults) const final;
+ IndexValidateResults* fullResults) const final;
bool appendCustomStats(OperationContext* opCtx,
BSONObjBuilder* result,