summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--s/d_state.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/s/d_state.cpp b/s/d_state.cpp
index 93594812cfc..962b933037d 100644
--- a/s/d_state.cpp
+++ b/s/d_state.cpp
@@ -635,10 +635,10 @@ namespace mongo {
return false;
}
- if ( isWriteOp && version.majorVersion() == clientVersion.majorVersion() ) {
+ if ( version.majorVersion() == clientVersion.majorVersion() ) {
// this means there was just a split
// since on a split w/o a migrate this server is ok
- // going to accept write
+ // going to accept
return true;
}