diff options
Diffstat (limited to 's/d_logic.cpp')
-rw-r--r-- | s/d_logic.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/s/d_logic.cpp b/s/d_logic.cpp index ddf83e8..62288ed 100644 --- a/s/d_logic.cpp +++ b/s/d_logic.cpp @@ -56,11 +56,11 @@ namespace mongo { DbMessage d(m); const char *ns = d.getns(); string errmsg; - if ( shardVersionOk( ns , errmsg ) ){ + if ( shardVersionOk( ns , opIsWrite( op ) , errmsg ) ){ return false; } - log() << "shardVersionOk failed ns:(" << ns << ") op:(" << opToString(op) << ") " << errmsg << endl; + log(1) << "connection meta data too old - will retry ns:(" << ns << ") op:(" << opToString(op) << ") " << errmsg << endl; if ( doesOpGetAResponse( op ) ){ assert( dbresponse ); |