mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
try to fix jstests/dur/closeall.js
This commit is contained in:
parent
51493ee642
commit
3e1729e2b6
16
db/repl.cpp
16
db/repl.cpp
@ -535,11 +535,19 @@ namespace mongo {
|
||||
// Database is already present.
|
||||
return true;
|
||||
}
|
||||
if ( ___databaseIgnorer.ignoreAt( db, op.getField( "ts" ).date() ) ) {
|
||||
// Database is ignored due to a previous indication that it is
|
||||
// missing from master after optime "ts".
|
||||
return false;
|
||||
|
||||
{
|
||||
const BSONElement e = op.getField( "ts" );
|
||||
if ( e.eoo() ) {
|
||||
warning() << "why is ts null: " << op << endl;
|
||||
}
|
||||
else if ( ___databaseIgnorer.ignoreAt( db, e._opTime() ) ) {
|
||||
// Database is ignored due to a previous indication that it is
|
||||
// missing from master after optime "ts".
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if ( Database::duplicateUncasedName( db, dbpath ).empty() ) {
|
||||
// No duplicate database names are present.
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user