Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-417

When QUERYOPTION_EXHAUST is set, the Java Driver sents getMore requests, causing a failure

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • 2.6.5
    • None
    • None
    • Fully Compatible

    Description

      When a user sets DBCursor option QUERYOPTION_EXHAUST, after forwarding the exhaust request to the MongoDB server, the Java Driver continues making getMore calls.

      This causes a failure, as Mongo is streaming back multiple reply packets automatically and the java driver is expecting a reply to a getMore, where the responseTo ID in the next packet to come in is an automatic exhaust reply which does NOT have the expected responseTo.

      We need to disable calling getMore (and lock the connection from any other requests temporarily) when EXHAUST is set.

      Attachments

        Activity

          People

            Unassigned Unassigned
            brendan Brendan W. McAdams
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: