From ccd024d9fb5c0587e33a3a3321e7f9a0430d0190 Mon Sep 17 00:00:00 2001 From: Dianna Hohensee Date: Thu, 5 Nov 2020 17:20:31 -0500 Subject: SERVER-52562 Enable two-phase drop for standalone mode; allow Lock-Free reads for standalone mode. --- src/mongo/db/mongod_options.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/mongo/db/mongod_options.cpp') 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")) { -- cgit v1.2.1