summaryrefslogtreecommitdiff
path: root/src/mongo/db/startup_warnings_mongod.cpp
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@mongodb.com>2018-03-13 15:26:04 -0400
committerAndy Schwerin <schwerin@mongodb.com>2018-03-15 17:36:38 -0400
commita65df88a0d7ea660e5d87aa667c77c4d4a999bca (patch)
tree9f1e27cee480206243fddee60b0ce5797778aa10 /src/mongo/db/startup_warnings_mongod.cpp
parente1418190f72787f9a21d5251ad6290076dbc4ae9 (diff)
downloadmongo-a65df88a0d7ea660e5d87aa667c77c4d4a999bca.tar.gz
SERVER-31802 Rip out more dead master-slave code, and the related concept of RID.
Diffstat (limited to 'src/mongo/db/startup_warnings_mongod.cpp')
-rw-r--r--src/mongo/db/startup_warnings_mongod.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mongo/db/startup_warnings_mongod.cpp b/src/mongo/db/startup_warnings_mongod.cpp
index 602810a373b..2f0ad080ee0 100644
--- a/src/mongo/db/startup_warnings_mongod.cpp
+++ b/src/mongo/db/startup_warnings_mongod.cpp
@@ -396,18 +396,6 @@ void logMongodStartupWarnings(const StorageGlobalParams& storageParams,
warned = true;
}
- // Check if in master-slave mode
- auto replCoord = repl::ReplicationCoordinator::get(svcCtx);
- if (replCoord->getReplicationMode() == repl::ReplicationCoordinator::modeMasterSlave) {
- log() << startupWarningsLog;
- log() << "** WARNING: This node was started in master-slave replication mode."
- << startupWarningsLog;
- log() << "** Master-slave replication is deprecated and subject to be removed "
- << startupWarningsLog;
- log() << "** in a future version." << startupWarningsLog;
- warned = true;
- }
-
if (warned) {
log() << startupWarningsLog;
}