[JAVA-5214] Ensure resources are released if cursor closed while getMore in flight. Created: 24/Oct/23 Updated: 31/Oct/23 Resolved: 31/Oct/23 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Unknown |
| Reporter: | Ross Lawley | Assignee: | Ross Lawley |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Documentation Changes Summary: | 1. What would you like to communicate to the user about this feature? |
| Description |
|
If another thread closes a cursor while a getMore is inflight, the cursor resources should be released. |
| Comments |
| Comment by Ross Lawley [ 31/Oct/23 ] |
|
On closer inspection its not a bug, just was a bad port of the async tests which made it look like an issue. Closing - works as designed. |