summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/replica_set_config_checks.cpp
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@mongodb.com>2014-08-21 20:11:44 -0400
committerAndy Schwerin <schwerin@mongodb.com>2014-08-25 10:31:02 -0400
commit3913d118f4cb0296dda50b8ba52e4c9f21583be9 (patch)
treeaf89064f5c047d4e940509ce561bdf1b3d55a7e6 /src/mongo/db/repl/replica_set_config_checks.cpp
parentd720d0f759aa3183e5f5677abfbd009e578d31b8 (diff)
downloadmongo-3913d118f4cb0296dda50b8ba52e4c9f21583be9.tar.gz
SERVER-14446 Implement and test ReplCoordinatorImpl::processReplSetInitiate.
Diffstat (limited to 'src/mongo/db/repl/replica_set_config_checks.cpp')
-rw-r--r--src/mongo/db/repl/replica_set_config_checks.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/repl/replica_set_config_checks.cpp b/src/mongo/db/repl/replica_set_config_checks.cpp
index 263c1c61e9f..71545f797bd 100644
--- a/src/mongo/db/repl/replica_set_config_checks.cpp
+++ b/src/mongo/db/repl/replica_set_config_checks.cpp
@@ -63,7 +63,7 @@ namespace {
return StatusWith<int>(ErrorCodes::NodeNotFound, str::stream() <<
"No host described in new configuration " <<
newConfig.getConfigVersion() << " for replica set " <<
- newConfig.getReplSetName() << " maps to this node.");
+ newConfig.getReplSetName() << " maps to this node");
}
if (meConfigs.size() > 1) {
str::stream message;
@@ -212,7 +212,7 @@ namespace {
"New and old configurations differ in the setting of the "
"buildIndexes field for member " <<
mOld->getHostAndPort().toString() <<
- "; to make this change, remove then re-add the member.");
+ "; to make this change, remove then re-add the member");
}
const bool arbiterFlagsEqual = mOld->isArbiter() == mNew->isArbiter();
if (!arbiterFlagsEqual) {
@@ -221,7 +221,7 @@ namespace {
"New and old configurations differ in the setting of the "
"arbiterOnly field for member " <<
mOld->getHostAndPort().toString() <<
- "; to make this change, remove then re-add the member.");
+ "; to make this change, remove then re-add the member");
}
}