From 237b218974e4fc09104c81fe0bb1ba83688d8035 Mon Sep 17 00:00:00 2001 From: Yu Jin Kang Park Date: Mon, 14 Mar 2022 14:30:51 +0000 Subject: SERVER-63684: Rollback SERVER-62101, changes not required after SERVER-57250 --- src/mongo/db/views/view_catalog_helpers.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/mongo/db/views/view_catalog_helpers.cpp') diff --git a/src/mongo/db/views/view_catalog_helpers.cpp b/src/mongo/db/views/view_catalog_helpers.cpp index a253f16adc3..018fad8437d 100644 --- a/src/mongo/db/views/view_catalog_helpers.cpp +++ b/src/mongo/db/views/view_catalog_helpers.cpp @@ -185,9 +185,7 @@ StatusWith resolveView(OperationContext* opCtx, } if (view->timeseries()) { - // Use the lock-free collection lookup, to ensure compatibility with lock-free read - // operations. - auto tsCollection = catalog->lookupCollectionByNamespaceForRead(opCtx, *resolvedNss); + auto tsCollection = catalog->lookupCollectionByNamespace(opCtx, *resolvedNss); uassert(6067201, str::stream() << "expected time-series buckets collection " << *resolvedNss << " to exist", -- cgit v1.2.1