diff options
author | Justin Seyster <justin.seyster@mongodb.com> | 2019-04-25 18:54:37 -0400 |
---|---|---|
committer | Justin Seyster <justin.seyster@mongodb.com> | 2019-04-25 18:57:02 -0400 |
commit | bf40065c01769683000310fedcd4b8c729c4fdb2 (patch) | |
tree | 1ee9f47542ca6e665008e8911e171e3c83f526f6 /src/mongo/db/catalog/index_consistency.h | |
parent | 0de05f9433c7dc1092547ff264bdff32e17fc001 (diff) | |
download | mongo-bf40065c01769683000310fedcd4b8c729c4fdb2.tar.gz |
Revert "SERVER-39520 Use database IX lock for dropCollection"
This reverts commit 3a8c33cd95abaa7455b2c01726bdbf413cc938e5.
Diffstat (limited to 'src/mongo/db/catalog/index_consistency.h')
-rw-r--r-- | src/mongo/db/catalog/index_consistency.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/index_consistency.h b/src/mongo/db/catalog/index_consistency.h index d22696c5b0c..ac90a4278a0 100644 --- a/src/mongo/db/catalog/index_consistency.h +++ b/src/mongo/db/catalog/index_consistency.h @@ -90,6 +90,7 @@ public: Collection* collection, NamespaceString nss, RecordStore* recordStore, + std::unique_ptr<Lock::CollectionLock> collLk, const bool background); /** @@ -168,6 +169,7 @@ 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 |