diff options
author | Daniel Solnik <dansolnik@gmail.com> | 2019-07-29 10:13:23 -0400 |
---|---|---|
committer | Daniel Solnik <dansolnik@gmail.com> | 2019-08-16 15:05:05 -0400 |
commit | 65754fc06966fb438c114f113ccae2d742eaa963 (patch) | |
tree | f1fd2b38b41f9d7507cdd4f512c9533098af3e8e /src/mongo/db/catalog/index_consistency.h | |
parent | 8494ca7d8a88aa3d5df96e89beafacd4caca3801 (diff) | |
download | mongo-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.h | 3 |
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 |