diff options
-rw-r--r-- | src/mongo/db/catalog/multi_index_block.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/catalog/multi_index_block.cpp b/src/mongo/db/catalog/multi_index_block.cpp index 1e500dd01d9..e98ab2bd83a 100644 --- a/src/mongo/db/catalog/multi_index_block.cpp +++ b/src/mongo/db/catalog/multi_index_block.cpp @@ -326,6 +326,10 @@ StatusWith<std::vector<BSONObj>> MultiIndexBlock::init(OperationContext* opCtx, } opCtx->recoveryUnit()->onCommit([ns, this](auto commitTs) { + if (!_buildUUID) { + return; + } + LOGV2(20346, "Index build initialized: {buildUUID}: {nss} ({collection_uuid}): indexes: " "{indexes_size}", |