MongoCursorNotFoundException Scala driver 2.8/Mongo 3.6

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Query Operations
    • None
    • Environment:
      Scala Driver 2.8/Java Driver 3.12 querying mongodb 3.6.3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Using Scala Driver 2.8/Java Driver 3.12 against a mongo database 3.6.x frequently errors out with something along the lines of:

      Stacktrace:

      _/ java.lang.Exception: [foo.barbaz@ssh-mymongo [replica set]] Database error!
      ____/ Mongo Server error (MongoCursorNotFoundException): Query failed with error code -5 and error message 'Cursor 434643071447 not found on server mongo01.mydomain.com:27017' on server mongo01.mydomain.com:27017

       

      The driver compatibility chart says the latest mongo drivers are compatible with 3.6:

      https://docs.mongodb.com/ecosystem/drivers/driver-compatibility-reference/#scala-driver-compatibility

            Assignee:
            Unassigned
            Reporter:
            Jake Burns
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: