0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

yield lock during removeRange SERVER-1521

This commit is contained in:
Eliot Horowitz 2010-09-09 17:55:20 -04:00
parent cc3ffa4b1a
commit 6766569f9a

View File

@ -305,6 +305,10 @@ namespace mongo {
c->checkLocation();
if ( yield && ! cc->yieldSometimes() ){
// cursor got finished by someone else, so we're done
break;
}
}
return num;