diff options
Diffstat (limited to 'db/repl/rs_member.h')
-rw-r--r-- | db/repl/rs_member.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/repl/rs_member.h b/db/repl/rs_member.h index 98328cfbe6d..099cb22b319 100644 --- a/db/repl/rs_member.h +++ b/db/repl/rs_member.h @@ -80,7 +80,7 @@ namespace mongo { bool up() const { return health > 0; } /** health is set to -1 on startup. that means we haven't even checked yet. 0 means we checked and it failed. */ - bool maybeUp() const { return health >= 0; } + bool maybeUp() const { return health != 0; } long long timeDown() const; // ms |