diff options
author | Henrik Edin <henrik.edin@mongodb.com> | 2023-02-08 17:36:45 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-02-08 23:45:36 +0000 |
commit | 2c2e95bc191cd307317278395e8f164ec86131e9 (patch) | |
tree | dc9d35193846a92cddbebb913efa3f98af854db8 | |
parent | 9ee1ba33fe7d1e5fc221eeccd61a4b75f10a9a0e (diff) | |
download | mongo-2c2e95bc191cd307317278395e8f164ec86131e9.tar.gz |
SERVER-73754 Make fassert when invalid index spec is found print backtrace
-rw-r--r-- | src/mongo/db/catalog/index_catalog_impl.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mongo/db/catalog/index_catalog_impl.cpp b/src/mongo/db/catalog/index_catalog_impl.cpp index febe2c0ac18..731294b2d2e 100644 --- a/src/mongo/db/catalog/index_catalog_impl.cpp +++ b/src/mongo/db/catalog/index_catalog_impl.cpp @@ -592,11 +592,11 @@ IndexCatalogEntry* IndexCatalogImpl::createIndexEntry(OperationContext* opCtx, CreateIndexEntryFlags flags) { Status status = _isSpecOk(opCtx, collection, descriptor->infoObj()); if (!status.isOK()) { - LOGV2_FATAL_NOTRACE(28782, - "Found an invalid index", - "descriptor"_attr = descriptor->infoObj(), - "namespace"_attr = collection->ns(), - "error"_attr = redact(status)); + LOGV2_FATAL(28782, + "Found an invalid index", + "descriptor"_attr = descriptor->infoObj(), + "namespace"_attr = collection->ns(), + "error"_attr = redact(status)); } auto engine = opCtx->getServiceContext()->getStorageEngine(); |