mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
better sync cluster update diagnostics
This commit is contained in:
parent
cd5a958c31
commit
b2ad6e7657
@ -304,7 +304,15 @@ namespace mongo {
|
||||
if ( a == b )
|
||||
continue;
|
||||
|
||||
throw UpdateNotTheSame( 8017 , "update not consistent" , _connAddresses , _lastErrors );
|
||||
throw UpdateNotTheSame( 8017 ,
|
||||
str::stream()
|
||||
<< "update not consistent "
|
||||
<< " ns: " << ns
|
||||
<< " query: " << query.toString()
|
||||
<< " update: " << obj
|
||||
<< " gle1: " << _lastErrors[0]
|
||||
<< " gle2: " << _lastErrors[i] ,
|
||||
_connAddresses , _lastErrors );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user