summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/index_consistency.h
diff options
context:
space:
mode:
authorDaniel Solnik <dansolnik@gmail.com>2019-07-29 10:13:23 -0400
committerDaniel Solnik <dansolnik@gmail.com>2019-08-16 15:05:05 -0400
commit65754fc06966fb438c114f113ccae2d742eaa963 (patch)
treef1fd2b38b41f9d7507cdd4f512c9533098af3e8e /src/mongo/db/catalog/index_consistency.h
parent8494ca7d8a88aa3d5df96e89beafacd4caca3801 (diff)
downloadmongo-65754fc06966fb438c114f113ccae2d742eaa963.tar.gz
SERVER-42222 Move data cursors for collection validation to the start of collection validation
Diffstat (limited to 'src/mongo/db/catalog/index_consistency.h')
-rw-r--r--src/mongo/db/catalog/index_consistency.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/catalog/index_consistency.h b/src/mongo/db/catalog/index_consistency.h
index ebfad06f83d..df03c3c129b 100644
--- a/src/mongo/db/catalog/index_consistency.h
+++ b/src/mongo/db/catalog/index_consistency.h
@@ -74,7 +74,6 @@ public:
IndexConsistency(OperationContext* opCtx,
Collection* collection,
NamespaceString nss,
- RecordStore* recordStore,
bool background);
/**
@@ -86,6 +85,7 @@ public:
void addDocKey(const KeyString::Builder& ks,
IndexInfo* indexInfo,
RecordId recordId,
+ const std::unique_ptr<SeekableRecordCursor>& cursor,
const BSONObj& indexKey);
/**
@@ -143,7 +143,6 @@ private:
OperationContext* _opCtx;
Collection* _collection;
const NamespaceString _nss;
- const RecordStore* _recordStore;
ElapsedTracker _tracker;
// We map the hashed KeyString values to a bucket that contains the count of how many