We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9425603 commit 640fc15Copy full SHA for 640fc15
s/cursors.cpp
@@ -276,6 +276,8 @@ namespace mongo {
276
log() << "killing old cursor " << i->second->getId() << " idle for: " << idleFor << "ms" << endl; // TODO: make log(1)
277
_cursors.erase( i );
278
i = _cursors.begin(); // possible 2nd entry will get skipped, will get on next pass
279
+ if ( i == _cursors.end() )
280
+ break;
281
}
282
283
0 commit comments