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

Driver tries to kill a cursor twice when limit is reached on the first batch

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.0.3
    • Affects Version/s: 3.0.2
    • Component/s: Query Operations
    • None
    • Environment:
      linux Ubuntu 14.04.2 LTS

      We have updated our java mongo driver from 2.13.0 to 3.0.2, and since then, we have tons of "killcursors: found 0 of 1" in logs on our secondary servers

      Before the change, we had around 500 logs per hours of it :

      $ sudo grep 2015-06-09T14 /var/log/mongodb/mongodb.log | grep -c killcursors
      511

      since the change, we have around 150 times more of this log :

      sudo grep 2015-06-09T18 /var/log/mongodb/mongodb.log | grep -c killcursors
      78043

      After the rollback, these logs disapeared

        1. 2.13.0.log
          1 kB
          Jean-Philippe Caruana
        2. 3.0.2.log
          2 kB
          Jean-Philippe Caruana
        3. killCursor.txt
          0.2 kB
          Jean-Philippe Caruana

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jpcaruana Jean-Philippe Caruana
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: