[JAVA-3442] ChangeStreamBatchCursor#close should be a no-op after first call Created: 20/Sep/19 Updated: 28/Oct/23 Resolved: 10/Oct/19 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Change Streams |
| Affects Version/s: | None |
| Fix Version/s: | 3.11.1 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
ChangeStreamBatchCursor#close should protect against multiple invocations by only calling release on its ClientSession on the first call. |
| Comments |
| Comment by Githook User [ 10/Oct/19 ] |
|
Author: {'username': 'jyemin', 'email': 'jeff.yemin@10gen.com', 'name': 'Jeff Yemin'}Message: Make ChangeStreamBatchCursor#close idempotent
|
| Comment by Githook User [ 10/Oct/19 ] |
|
Author: {'username': 'jyemin', 'email': 'jeff.yemin@10gen.com', 'name': 'Jeff Yemin'}Message: Make ChangeStreamBatchCursor#close idempotent
|