summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/member_state.h
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@mongodb.com>2014-09-29 18:01:24 -0400
committerSpencer T Brody <spencer@mongodb.com>2014-10-02 14:13:19 -0400
commit4485b41323100ade5e1f1ac2a8b2f4c8b6f4597b (patch)
tree433824590872dcf0d8b64d4976d2f67068f3858f /src/mongo/db/repl/member_state.h
parentcfddfb4b976a38a23f319abae6021c5864fa16d9 (diff)
downloadmongo-4485b41323100ade5e1f1ac2a8b2f4c8b6f4597b.tar.gz
SERVER-15429 Prepare applier threads to be started by the ReplicationCoordinatorImpl
Diffstat (limited to 'src/mongo/db/repl/member_state.h')
-rw-r--r--src/mongo/db/repl/member_state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/repl/member_state.h b/src/mongo/db/repl/member_state.h
index 207350857d0..c3e3ffd292b 100644
--- a/src/mongo/db/repl/member_state.h
+++ b/src/mongo/db/repl/member_state.h
@@ -72,6 +72,7 @@ namespace repl {
bool rollback() const { return s == RS_ROLLBACK; }
bool readable() const { return s == RS_PRIMARY || s == RS_SECONDARY; }
bool removed() const { return s == RS_REMOVED; }
+ bool arbiter() const { return s == RS_ARBITER; }
std::string toString() const;