mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
attempt to fix weird index issue
This commit is contained in:
parent
6c6d40a375
commit
4afc973c3e
@ -186,7 +186,7 @@ namespace mongo {
|
||||
|
||||
}
|
||||
|
||||
if ( dbMutex.getState() >= 0 )
|
||||
if ( thisTime.size() > 0 && dbMutex.getState() >= 0 )
|
||||
db->ensureIndex( coll, BSON( "_id" << 1 ) , true );
|
||||
|
||||
// --- remove things from scope that were removed
|
||||
|
Loading…
Reference in New Issue
Block a user