Skip to content
Browse files

DBClientPaired::isFailed is backwards SERVER-1076

  • Loading branch information...
1 parent 5bd568f commit aff81e633ec93bdd0c726a17bb6b24bbb280d70f @erh erh committed May 3, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 client/dbclient.h
View
2 client/dbclient.h
@@ -813,7 +813,7 @@ namespace mongo {
bool isFailed() const {
// TODO: this really should check isFailed on current master as well
- return master > NotSetR;
+ return master < Left;
}
};

0 comments on commit aff81e6

Please sign in to comment.
Something went wrong with that request. Please try again.