mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
SyncClusterConnection support for --dur
This commit is contained in:
parent
56f648f07a
commit
d56aef4fa6
@ -121,7 +121,7 @@ namespace mongo {
|
||||
|
||||
for ( size_t i = 0; i<_conns.size(); i++ ) {
|
||||
BSONObj res = _lastErrors[i];
|
||||
if ( res["ok"].trueValue() && res["fsyncFiles"].numberInt() > 0 )
|
||||
if ( res["ok"].trueValue() && (res["fsyncFiles"].numberInt() > 0 || res.hasElement("waited")))
|
||||
continue;
|
||||
ok = false;
|
||||
err << _conns[i]->toString() << ": " << res << " " << errors[i];
|
||||
|
Loading…
Reference in New Issue
Block a user