read failure when takes too long

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.10.1
    • Component/s: Connection Management
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.?

            Assignee:
            Unassigned
            Reporter:
            Wang Han
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: