diff options
author | Dianna Hohensee <dianna.hohensee@mongodb.com> | 2021-01-06 20:42:47 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-01-07 03:08:02 +0000 |
commit | 1d04c55a74a45fd03a7b58d4bad9f4d6d8f7ba41 (patch) | |
tree | 0b4b12d01f18c52bf811b3a462b342ab15176b23 /src/mongo/db/mongod_options.cpp | |
parent | 5b5d563318a7c5cba221681aec8a7ff1693646ff (diff) | |
download | mongo-1d04c55a74a45fd03a7b58d4bad9f4d6d8f7ba41.tar.gz |
Revert "SERVER-53324 remove extra development only logging for lock-free reads"
This reverts commit 40cf841f3b79c04ccf2f18e19ac6d6faf1e08030.
Diffstat (limited to 'src/mongo/db/mongod_options.cpp')
-rw-r--r-- | src/mongo/db/mongod_options.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/db/mongod_options.cpp b/src/mongo/db/mongod_options.cpp index c816d63a5a8..bc436427d07 100644 --- a/src/mongo/db/mongod_options.cpp +++ b/src/mongo/db/mongod_options.cpp @@ -542,6 +542,13 @@ Status storeMongodOptions(const moe::Environment& params) { } } + // TODO (SERVER-49464): remove this development only extra logging. + if (storageGlobalParams.disableLockFreeReads) { + LOGV2(4788402, "Lock-free reads is disabled."); + } else { + LOGV2(4788403, "Lock-free reads is enabled."); + } + if (params.count("replication.oplogSizeMB")) { long long x = params["replication.oplogSizeMB"].as<int>(); if (x <= 0) { |