mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
ignore op objects without valid ts fields, which can be the case with synthetic 'db' ops created slave side; should fix closeall bb failures
This commit is contained in:
parent
0fa2156404
commit
c4639a3e61
@ -535,7 +535,8 @@ namespace mongo {
|
||||
// Database is already present.
|
||||
return true;
|
||||
}
|
||||
if ( ___databaseIgnorer.ignoreAt( db, op.getField( "ts" ).date() ) ) {
|
||||
BSONElement ts = op.getField( "ts" );
|
||||
if ( ( ts.type() == Date || ts.type() == Timestamp ) && ___databaseIgnorer.ignoreAt( db, ts.date() ) ) {
|
||||
// Database is ignored due to a previous indication that it is
|
||||
// missing from master after optime "ts".
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user