summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/multi_index_block.cpp
diff options
context:
space:
mode:
authorJamie Heppenstall <jamie.heppenstall@mongodb.com>2020-05-04 14:28:35 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-05-04 19:15:50 +0000
commitfa6c70e09cc25ba5cd57b4fd02b920ed59282437 (patch)
tree258fc275ff961ba24f8730848fb3732e4c7f1ce5 /src/mongo/db/catalog/multi_index_block.cpp
parentaacb7410c83ed079fc62af94fa546dedc66b89fa (diff)
downloadmongo-fa6c70e09cc25ba5cd57b4fd02b920ed59282437.tar.gz
SERVER-46564 Remove the CheckpointLock class
Diffstat (limited to 'src/mongo/db/catalog/multi_index_block.cpp')
-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());