diff options
author | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2023-04-17 23:34:01 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-04-18 00:59:57 +0000 |
commit | 82c43a6d4fee436bbd02753288894f52b606c343 (patch) | |
tree | a13b0dc9a347b43a5b4f793782585a4facd38629 /src/mongo/db/catalog/collection_catalog_test.cpp | |
parent | 3c5d9c099046af67ee02564cf5eeabd2031b5da2 (diff) | |
download | mongo-82c43a6d4fee436bbd02753288894f52b606c343.tar.gz |
SERVER-68269 Remove minimum visible snapshot for indexes
Diffstat (limited to 'src/mongo/db/catalog/collection_catalog_test.cpp')
-rw-r--r-- | src/mongo/db/catalog/collection_catalog_test.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mongo/db/catalog/collection_catalog_test.cpp b/src/mongo/db/catalog/collection_catalog_test.cpp index 227ec0ca5b0..0f1ab9ab043 100644 --- a/src/mongo/db/catalog/collection_catalog_test.cpp +++ b/src/mongo/db/catalog/collection_catalog_test.cpp @@ -1372,14 +1372,6 @@ TEST_F(CollectionCatalogTimestampTest, MinimumValidSnapshot) { ASSERT_EQ(coll->getMinimumVisibleSnapshot(), createCollectionTs); ASSERT_EQ(coll->getMinimumValidSnapshot(), createYIndexTs); - const IndexDescriptor* desc = coll->getIndexCatalog()->findIndexByName(opCtx.get(), "x_1"); - const IndexCatalogEntry* entry = coll->getIndexCatalog()->getEntry(desc); - ASSERT_EQ(entry->getMinimumVisibleSnapshot(), createXIndexTs); - - desc = coll->getIndexCatalog()->findIndexByName(opCtx.get(), "y_1"); - entry = coll->getIndexCatalog()->getEntry(desc); - ASSERT_EQ(entry->getMinimumVisibleSnapshot(), createYIndexTs); - dropIndex(opCtx.get(), nss, "x_1", dropIndexTs); dropIndex(opCtx.get(), nss, "y_1", dropIndexTs); |