summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/index_catalog_entry.h
diff options
context:
space:
mode:
authorWilliam Schultz <william.schultz@mongodb.com>2019-08-12 16:24:04 -0400
committerWilliam Schultz <william.schultz@mongodb.com>2019-08-12 16:24:04 -0400
commit20ba91db04c0b7b3d10fe2527b6938b1a14fcaa6 (patch)
tree22f677d19f2ed7865bc6f1feaa6538831f11a27a /src/mongo/db/catalog/index_catalog_entry.h
parentff468c0b65af2cc978aa549d0ec7ed56553abf5a (diff)
downloadmongo-20ba91db04c0b7b3d10fe2527b6938b1a14fcaa6.tar.gz
SERVER-41766 Remove obsolete code for tracking multikey writes inside multi-document transactions
Now that we update the multikey flag within a transaction in a side transaction, the in-memory state about the multikey write will be naturally visible to subsequent writes inside the transaction, so we don't need to keep around any extra structures to enforce this anymore.
Diffstat (limited to 'src/mongo/db/catalog/index_catalog_entry.h')
-rw-r--r--src/mongo/db/catalog/index_catalog_entry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/index_catalog_entry.h b/src/mongo/db/catalog/index_catalog_entry.h
index 6a5d1212ece..07246e14f03 100644
--- a/src/mongo/db/catalog/index_catalog_entry.h
+++ b/src/mongo/db/catalog/index_catalog_entry.h
@@ -95,7 +95,7 @@ public:
/**
* Returns true if this index is multikey and false otherwise.
*/
- virtual bool isMultikey(OperationContext* opCtx) const = 0;
+ virtual bool isMultikey() const = 0;
/**
* Returns the path components that cause this index to be multikey if this index supports