diff options
author | Eric Milkie <milkie@10gen.com> | 2020-04-13 14:29:48 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-04-22 12:54:28 +0000 |
commit | 56b894215fa182dd7668ef7e7c6f52e6da6a536e (patch) | |
tree | 4b1d37df17ac58ab033a1ab8a435930c8e58246b /src/mongo/db/catalog/catalog_control.cpp | |
parent | 40801001754b6bdc15bd2f59eae523c59b6ff055 (diff) | |
download | mongo-56b894215fa182dd7668ef7e7c6f52e6da6a536e.tar.gz |
SERVER-47397 enhanced logging for Execution owned files (part 1)
Diffstat (limited to 'src/mongo/db/catalog/catalog_control.cpp')
-rw-r--r-- | src/mongo/db/catalog/catalog_control.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mongo/db/catalog/catalog_control.cpp b/src/mongo/db/catalog/catalog_control.cpp index 0af48451cd4..7e476d46594 100644 --- a/src/mongo/db/catalog/catalog_control.cpp +++ b/src/mongo/db/catalog/catalog_control.cpp @@ -75,8 +75,7 @@ MinVisibleTimestampMap closeCatalog(OperationContext* opCtx) { if (uuid && minVisible) { LOGV2_DEBUG(20269, 1, - "closeCatalog: preserving min visible timestamp. Collection: {coll_ns} " - "UUID: {uuid} TS: {minVisible}", + "closeCatalog: preserving min visible timestamp.", "coll_ns"_attr = coll->ns(), "uuid"_attr = uuid, "minVisible"_attr = minVisible); @@ -157,8 +156,9 @@ void openCatalog(OperationContext* opCtx, const MinVisibleTimestampMap& minVisib for (const auto& indexName : entry.second.first) { LOGV2(20275, "openCatalog: rebuilding index: collection: {collNss}, index: {indexName}", - "collNss"_attr = collNss.toString(), - "indexName"_attr = indexName); + "openCatalog: rebuilding index", + "namespace"_attr = collNss.toString(), + "index"_attr = indexName); } std::vector<BSONObj> indexSpecs = entry.second.second; @@ -178,7 +178,7 @@ void openCatalog(OperationContext* opCtx, const MinVisibleTimestampMap& minVisib std::vector<std::string> databasesToOpen = storageEngine->listDatabases(); for (auto&& dbName : databasesToOpen) { LOGV2_FOR_RECOVERY( - 23992, 1, "openCatalog: dbholder reopening database {dbName}", "dbName"_attr = dbName); + 23992, 1, "openCatalog: dbholder reopening database", "db"_attr = dbName); auto db = databaseHolder->openDb(opCtx, dbName); invariant(db, str::stream() << "failed to reopen database " << dbName); for (auto&& collNss : |