[CDRIVER-2361] Cursor iteration should complete (abnormally) when another thread closes the cursor Created: 10/Nov/17 Updated: 27/Oct/23 Resolved: 14/Nov/17 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | libmongoc |
| Affects Version/s: | None |
| Fix Version/s: | 1.9.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Rathi Gnanasekaran | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Comments |
| Comment by A. Jesse Jiryu Davis [ 14/Nov/17 ] |
|
Change streams in the C Driver must be accessed only from one thread at a time, and the only way to "close" a change stream is with mongoc_change_stream_destroy, which frees the struct. This ticket isn't relevant to the C Driver. |