[JAVA-3218] MongoCursorNotFoundException should be reported for error code 13127 Created: 28/Feb/19 Updated: 04/Mar/19 Resolved: 04/Mar/19 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Ross Lawley | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Currently only errors with the code
|
| Comments |
| Comment by Ross Lawley [ 04/Mar/19 ] |
|
david.storch thanks for checking - I did mean 43. Looks like 13127 is an old code (https://github.com/mongodb/mongo/blob/r3.4.4/src/mongo/client/dbclientcursor.cpp#L290-L291) and no longer needed. I'll close this as Won't Fix. |
| Comment by David Storch [ 04/Mar/19 ] |
|
ian.whalen ross.lawley, I'm a bit confused by this question. Code 45 is "UserDataInconsistent". I assume you meant code 43, "CursorNotFound"? More importantly, I see no references to unnamed code 13127 in either the master or 4.0 branches. I didn't check older branches. Questions for you:
|
| Comment by Ian Whalen (Inactive) [ 04/Mar/19 ] |
|
david.storch is error code 13127 stable? any reason we aren't using error code 45 for this? |