summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/storage_interface_impl_test.cpp
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/repl/storage_interface_impl_test.cpp
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/repl/storage_interface_impl_test.cpp')
-rw-r--r--src/mongo/db/repl/storage_interface_impl_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/storage_interface_impl_test.cpp b/src/mongo/db/repl/storage_interface_impl_test.cpp
index 451e809ef55..a5502f21cb2 100644
--- a/src/mongo/db/repl/storage_interface_impl_test.cpp
+++ b/src/mongo/db/repl/storage_interface_impl_test.cpp
@@ -2649,7 +2649,7 @@ TEST_F(StorageInterfaceImplTest, SetIndexIsMultikeySucceeds) {
AutoGetCollectionForReadCommand autoColl(opCtx, nss);
ASSERT_TRUE(autoColl.getCollection());
auto indexCatalog = autoColl.getCollection()->getIndexCatalog();
- ASSERT(indexCatalog->isMultikey(opCtx, indexCatalog->findIndexByName(opCtx, indexName)));
+ ASSERT(indexCatalog->isMultikey(indexCatalog->findIndexByName(opCtx, indexName)));
ASSERT(paths ==
indexCatalog->getMultikeyPaths(opCtx, indexCatalog->findIndexByName(opCtx, indexName)));
}