diff options
author | Jordi Olivares Provencio <jordi.olivares-provencio@mongodb.com> | 2022-07-15 14:46:25 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-07-15 16:26:15 +0000 |
commit | d8616301f12951868e52e19cd696cff620caa28e (patch) | |
tree | 8e3ddeddae9ba83be8899c93cbfa465fda7e20a9 /src/mongo/db/catalog/index_consistency.h | |
parent | 6af105aa73b7e3ed88186a14a5e832434af65863 (diff) | |
download | mongo-d8616301f12951868e52e19cd696cff620caa28e.tar.gz |
SERVER-67471 Improve RecordId usage performance
Diffstat (limited to 'src/mongo/db/catalog/index_consistency.h')
-rw-r--r-- | src/mongo/db/catalog/index_consistency.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/catalog/index_consistency.h b/src/mongo/db/catalog/index_consistency.h index dab1d2d8d97..ade97d20918 100644 --- a/src/mongo/db/catalog/index_consistency.h +++ b/src/mongo/db/catalog/index_consistency.h @@ -108,7 +108,7 @@ public: void addDocKey(OperationContext* opCtx, const KeyString::Value& ks, IndexInfo* indexInfo, - RecordId recordId); + const RecordId& recordId); /** * During the first phase of validation, given the index entry's KeyString, decrement the @@ -119,7 +119,7 @@ public: void addIndexKey(OperationContext* opCtx, const KeyString::Value& ks, IndexInfo* indexInfo, - RecordId recordId, + const RecordId& recordId, ValidateResults* results); /** @@ -232,7 +232,7 @@ private: */ BSONObj _generateInfo(const std::string& indexName, const BSONObj& keyPattern, - RecordId recordId, + const RecordId& recordId, const BSONObj& indexKey, const BSONObj& idKey); |