[JAVA-3291] ChangeStreamBatchCursor is not interruptable Created: 16/May/19 Updated: 28/Oct/23 Resolved: 24/Jul/19 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Query Operations |
| Affects Version/s: | None |
| Fix Version/s: | 3.11.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kevin Rosendahl | Assignee: | John Stewart (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
ChangeStreamBatchCursor is currently swallowing MongoInterruptedException as a retryable error, making threads which are blocked watching a change stream uninterruptible.
Minimal reproduction which hangs forever:
|
| Comments |
| Comment by Githook User [ 01/Aug/19 ] |
|
Author: {'name': 'John Stewart', 'email': 'john.stewart@mongodb.com', 'username': 'jstewart-mongo'}Message: Declare MongoInterruptedException as a non-retryable error
|
| Comment by Githook User [ 24/Jul/19 ] |
|
Author: {'name': 'John Stewart', 'email': 'john.stewart@mongodb.com', 'username': 'jstewart-mongo'}Message: Declare MongoInterruptedException as a non-retryable error
|