diff options
author | Varun Ravichandran <varun.ravichandran@mongodb.com> | 2021-02-22 23:22:35 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-03-11 00:54:35 +0000 |
commit | 125d31c2e444742a803e37071034f73c34c99fda (patch) | |
tree | 9fb10b50bc7818db8e99cfff137e8c00028e4f9e /src/mongo/db/catalog/multi_index_block.cpp | |
parent | 634d4ba3e14c14d34b234af3a40ea1a14f95f2fb (diff) | |
download | mongo-125d31c2e444742a803e37071034f73c34c99fda.tar.gz |
SERVER-54209: Audit index build lifecycle events
Diffstat (limited to 'src/mongo/db/catalog/multi_index_block.cpp')
-rw-r--r-- | src/mongo/db/catalog/multi_index_block.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mongo/db/catalog/multi_index_block.cpp b/src/mongo/db/catalog/multi_index_block.cpp index 1bea1a2bb7e..54d8dd74aa8 100644 --- a/src/mongo/db/catalog/multi_index_block.cpp +++ b/src/mongo/db/catalog/multi_index_block.cpp @@ -37,7 +37,6 @@ #include "mongo/base/error_codes.h" #include "mongo/bson/simple_bsonelement_comparator.h" -#include "mongo/db/audit.h" #include "mongo/db/catalog/collection.h" #include "mongo/db/catalog/collection_catalog.h" #include "mongo/db/catalog/multi_index_block_gen.h" @@ -302,12 +301,6 @@ StatusWith<std::vector<BSONObj>> MultiIndexBlock::init( eachIndexBuildMaxMemoryUsageBytes / 1024 / 1024); index.filterExpression = indexCatalogEntry->getFilterExpression(); - - if (!resumeInfo) { - // TODO SERVER-14888 Suppress this in cases we don't want to audit. - audit::logCreateIndex( - opCtx->getClient(), &info, descriptor->indexName(), collection->ns()); - } } opCtx->recoveryUnit()->onCommit([ns = collection->ns(), this](auto commitTs) { |