summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog')
-rw-r--r--src/mongo/db/catalog/multi_index_block.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/db/catalog/multi_index_block.cpp b/src/mongo/db/catalog/multi_index_block.cpp
index 9fef20e4559..ca147b71fe6 100644
--- a/src/mongo/db/catalog/multi_index_block.cpp
+++ b/src/mongo/db/catalog/multi_index_block.cpp
@@ -696,8 +696,6 @@ Status MultiIndexBlock::commit(OperationContext* opCtx,
// checkpoint.
//
// TODO (SERVER-44012): to remove this workaround.
- auto checkpointLock =
- opCtx->getServiceContext()->getStorageEngine()->getCheckpointLock(opCtx);
auto indexIdent =
opCtx->getServiceContext()->getStorageEngine()->getCatalog()->getIndexIdent(
opCtx, collection->getCatalogId(), _indexes[i].block->getIndexName());