diff options
author | Spencer T Brody <spencer@mongodb.com> | 2015-01-07 15:01:58 -0500 |
---|---|---|
committer | Spencer T Brody <spencer@mongodb.com> | 2015-01-12 11:42:03 -0500 |
commit | c518ce7ff2255004e299c802625f2f7c65e048fd (patch) | |
tree | 7b5f96f064d659e521ab0067c39d1c7fc5a408b4 /src/mongo/db/dbcommands.cpp | |
parent | cc1283f11b689850a66b935b9242a058d6d4ff2e (diff) | |
download | mongo-c518ce7ff2255004e299c802625f2f7c65e048fd.tar.gz |
SERVER-16764 Give methods and member variables consistent names in repl Coordinator classes
Diffstat (limited to 'src/mongo/db/dbcommands.cpp')
-rw-r--r-- | src/mongo/db/dbcommands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/dbcommands.cpp b/src/mongo/db/dbcommands.cpp index 509cbf0f200..45b8fcad1d8 100644 --- a/src/mongo/db/dbcommands.cpp +++ b/src/mongo/db/dbcommands.cpp @@ -1412,7 +1412,7 @@ namespace mongo { if (!c->maintenanceOk() && replCoord->getReplicationMode() == repl::ReplicationCoordinator::modeReplSet && !replCoord->canAcceptWritesForDatabase(dbname) - && !replCoord->getCurrentMemberState().secondary()) { + && !replCoord->getMemberState().secondary()) { result.append( "note" , "from execCommand" ); appendCommandStatus(result, false, "node is recovering"); return; |