diff options
author | William Schultz <william.schultz@mongodb.com> | 2019-08-12 16:24:04 -0400 |
---|---|---|
committer | William Schultz <william.schultz@mongodb.com> | 2019-08-12 16:24:04 -0400 |
commit | 20ba91db04c0b7b3d10fe2527b6938b1a14fcaa6 (patch) | |
tree | 22f677d19f2ed7865bc6f1feaa6538831f11a27a /src/mongo/dbtests | |
parent | ff468c0b65af2cc978aa549d0ec7ed56553abf5a (diff) | |
download | mongo-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/dbtests')
-rw-r--r-- | src/mongo/dbtests/wildcard_multikey_persistence_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/wildcard_multikey_persistence_test.cpp b/src/mongo/dbtests/wildcard_multikey_persistence_test.cpp index 6731153ed88..3f7d762e8db 100644 --- a/src/mongo/dbtests/wildcard_multikey_persistence_test.cpp +++ b/src/mongo/dbtests/wildcard_multikey_persistence_test.cpp @@ -97,7 +97,7 @@ protected: auto collection = autoColl.getCollection(); // Verify whether or not the index has been marked as multikey. - ASSERT_EQ(expectIndexIsMultikey, getIndexDesc(collection, indexName)->isMultikey(opCtx())); + ASSERT_EQ(expectIndexIsMultikey, getIndexDesc(collection, indexName)->isMultikey()); // Obtain a cursor over the index, and confirm that the keys are present in order. auto indexCursor = getIndexCursor(collection, indexName); |