[JAVA-3556] MongoCursorNotFoundException Scala driver 2.8/Mongo 3.6 Created: 17/Dec/19 Updated: 26/Dec/19 Resolved: 26/Dec/19 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Query Operations |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jake Burns | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Scala Driver 2.8/Java Driver 3.12 querying mongodb 3.6.3 |
||
| Description |
|
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:
The driver compatibility chart says the latest mongo drivers are compatible with 3.6: |
| Comments |
| Comment by Jeffrey Yemin [ 26/Dec/19 ] |
|
Most likely, the issue is that the cursor timed out on the server (the default timeout is 10 minutes). Is it possible that your application does not iterate the cursor for that long of a period? Just to let you know for future reference the best place for questions regarding MongoDB usage or the Java driver specifics is the mongodb-user mailinglist or stackoverflow as you will reach a broader audience there. If your business requires an answer from MongoDB within a time frame then we do offer production support. |