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

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.6.5
    • Component/s: None
    • Labels:
      None
    • Fully Compatible

      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.

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

              Created:
              Updated:
              Resolved: