diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-11-24 17:11:14 -0500 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-11-24 17:11:14 -0500 |
commit | 0ad070c47135f205c638b47e217d46d7da9fd329 (patch) | |
tree | 3eebf17de5947754adda5acf013489697484844b /src/mongo/db/catalog/index_catalog_entry.h | |
parent | 02077a6e7d7215af65cfd88beda865672d45a442 (diff) | |
download | mongo-0ad070c47135f205c638b47e217d46d7da9fd329.tar.gz |
Revert "SERVER-16133 Use RESOURCE_METADATA X lock to set the multiKey index value"
This reverts commit 58e49b2726807b7e7c2f0309607ffa454befbff6.
Diffstat (limited to 'src/mongo/db/catalog/index_catalog_entry.h')
-rw-r--r-- | src/mongo/db/catalog/index_catalog_entry.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/index_catalog_entry.h b/src/mongo/db/catalog/index_catalog_entry.h index cc086b73ec9..b40904d42da 100644 --- a/src/mongo/db/catalog/index_catalog_entry.h +++ b/src/mongo/db/catalog/index_catalog_entry.h @@ -87,6 +87,8 @@ namespace mongo { // if this ready is ready for queries bool isReady( OperationContext* txn ) const; + bool wantToSetIsMultikey() const { return _wantToSetIsMultikey; } + private: class SetMultikeyChange; @@ -117,6 +119,8 @@ namespace mongo { bool _isReady; // cache of NamespaceDetails info DiskLoc _head; // cache of IndexDetails bool _isMultikey; // cache of NamespaceDetails info + + bool _wantToSetIsMultikey; // see ::setMultikey }; class IndexCatalogEntryContainer { |