Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
2.10.1
-
None
Description
when i read mongodb with code below:
cursor = col.findAll();
cursor.addOption(Bytes.QUERYOPTION_NOTIMEOUT);
while(cursor.hasNext()) {
func(cursor.next())
}
If func takes a little longer than 20 ms, i find maybe not all tuples in the collection are visited and there is no exception thrown.The colleciton is not very big and just has about 2m small tuples. It occurs sometimes but not every time. Is it a bug in mongoDB driver.?