summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/repl_set.h
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@mongodb.com>2014-06-12 19:43:11 -0400
committerSpencer T Brody <spencer@mongodb.com>2014-06-18 11:17:21 -0400
commitb6fe6121a9942ba4d0b41a9f4d7d5f023bbb4ff1 (patch)
treef95f6fa3d47573dfc6e28e607f62f9944dece0c0 /src/mongo/db/repl/repl_set.h
parent1881bea84dbf26aec2e6231231e24ae0fe48bb4e (diff)
downloadmongo-b6fe6121a9942ba4d0b41a9f4d7d5f023bbb4ff1.tar.gz
SERVER-14276 SERVER-14135 Implement and hook up stepDown functionality in LegacyReplicationCoordinator
Diffstat (limited to 'src/mongo/db/repl/repl_set.h')
-rw-r--r--src/mongo/db/repl/repl_set.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/repl/repl_set.h b/src/mongo/db/repl/repl_set.h
index d1ef053125b..8b2c9f83f12 100644
--- a/src/mongo/db/repl/repl_set.h
+++ b/src/mongo/db/repl/repl_set.h
@@ -40,6 +40,7 @@ namespace repl {
virtual ~ReplSet() {}
// for the replSetStepDown command
+ // Returns false if this node isn't currently primary
bool stepDown(int secs) { return _stepDown(secs); }
// for the replSetFreeze command