summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@mongodb.com>2015-10-06 14:21:20 -0400
committerSpencer T Brody <spencer@mongodb.com>2015-10-13 23:35:59 -0400
commit694e8d341e35091f168ed65665f54fb99f4c3f25 (patch)
treef7167186bb3986dac112cae570362c105b818a01 /src
parent110e24cb3571778f4abb53e8f121b14f529307f6 (diff)
downloadmongo-694e8d341e35091f168ed65665f54fb99f4c3f25.tar.gz
SERVER-20780 Don't shut down the primary when there could be unreplicated writes in config_rs_no_primary.js
Diffstat (limited to 'src')
-rw-r--r--src/mongo/s/catalog/replset/catalog_manager_replica_set.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/catalog/replset/catalog_manager_replica_set.cpp b/src/mongo/s/catalog/replset/catalog_manager_replica_set.cpp
index bb0c14fe7a0..1e843a17228 100644
--- a/src/mongo/s/catalog/replset/catalog_manager_replica_set.cpp
+++ b/src/mongo/s/catalog/replset/catalog_manager_replica_set.cpp
@@ -869,7 +869,7 @@ bool CatalogManagerReplicaSet::runUserManagementWriteCommand(OperationContext* t
BSONObjBuilder* result) {
BSONObj cmdToRun = cmdObj;
{
- // Make sure that the if the command has a write concern that it is w:1 or w:majority, and
+ // Make sure that if the command has a write concern that it is w:1 or w:majority, and
// convert w:1 or no write concern to w:majority before sending.
WriteConcernOptions writeConcern;
const char* writeConcernFieldName = "writeConcern";