summaryrefslogtreecommitdiff
path: root/src/mongo/db/mongod_options.cpp
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@mongodb.com>2020-11-05 17:20:31 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-11-12 17:54:28 +0000
commitccd024d9fb5c0587e33a3a3321e7f9a0430d0190 (patch)
treee4035ba5b8f90bc300b7645d8d1ae4cf3df3c401 /src/mongo/db/mongod_options.cpp
parentc1ad4eab08f4679ca5071d76cfa845a9652881fe (diff)
downloadmongo-ccd024d9fb5c0587e33a3a3321e7f9a0430d0190.tar.gz
SERVER-52562 Enable two-phase drop for standalone mode; allow Lock-Free reads for standalone mode.
Diffstat (limited to 'src/mongo/db/mongod_options.cpp')
-rw-r--r--src/mongo/db/mongod_options.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mongo/db/mongod_options.cpp b/src/mongo/db/mongod_options.cpp
index c4a364fee1d..04d88cfbf5d 100644
--- a/src/mongo/db/mongod_options.cpp
+++ b/src/mongo/db/mongod_options.cpp
@@ -505,16 +505,6 @@ Status storeMongodOptions(const moe::Environment& params) {
// storage engines will continue to perform regular capped collection handling for the oplog
// collection, regardless of this parameter setting.
storageGlobalParams.allowOplogTruncation = false;
-
- // Standalone mode does not currently support lock-free reads, so we disable it. If the user
- // tries to explicitly enable it by specifying --disableLockFreeReads=false, log a warning
- // so that the user knows the feature will not run in standalone mode.
- if (!storageGlobalParams.disableLockFreeReads) {
- LOGV2_WARNING(
- 4788400,
- "Lock-free reads is not supported in standalone mode: disabling lock-free reads.");
- storageGlobalParams.disableLockFreeReads = true;
- }
}
if (params.count("replication.enableMajorityReadConcern")) {