[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?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 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.

Generated at Thu Feb 08 09:04:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.