diff options
author | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2019-04-26 10:30:18 -0400 |
---|---|---|
committer | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2019-04-26 14:45:54 -0400 |
commit | fa23ce3476904d41f981a677aa4aba55deec4791 (patch) | |
tree | e53a0e8729364474931d1fdf3d56f8466c978ba6 /src/mongo/db/catalog/index_consistency.h | |
parent | 36fabef9e765033af90017a5ebc41e53ef46683e (diff) | |
download | mongo-fa23ce3476904d41f981a677aa4aba55deec4791.tar.gz |
SERVER-39520 Use database IX lock for dropCollection
Diffstat (limited to 'src/mongo/db/catalog/index_consistency.h')
-rw-r--r-- | src/mongo/db/catalog/index_consistency.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/db/catalog/index_consistency.h b/src/mongo/db/catalog/index_consistency.h index ac90a4278a0..d22696c5b0c 100644 --- a/src/mongo/db/catalog/index_consistency.h +++ b/src/mongo/db/catalog/index_consistency.h @@ -90,7 +90,6 @@ public: Collection* collection, NamespaceString nss, RecordStore* recordStore, - std::unique_ptr<Lock::CollectionLock> collLk, const bool background); /** @@ -169,7 +168,6 @@ private: Collection* _collection; const NamespaceString _nss; const RecordStore* _recordStore; - std::unique_ptr<Lock::CollectionLock> _collLk; ElapsedTracker _tracker; // We map the hashed KeyString values to a bucket which contain the count of how many |