[JAVA-3774] Ensure connectionSource is released if killCursors fails in the QueryBatchCursor Created: 01/Jul/20  Updated: 28/Oct/23  Resolved: 02/Jul/20

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 4.1.0

Type: Improvement Priority: Major - P3
Reporter: Ross Lawley Assignee: Ross Lawley
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to JAVA-3753 GetMore not closing cursor after exce... Closed

 Comments   
Comment by Githook User [ 02/Jul/20 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: Ensure connectionSource is released in QueryBatchCursor

Also ensure killCursors does not throw an exception.

JAVA-3774
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/66b7240bae013e9d9be0b9a5fa3cf417dbeb4fb4

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