[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:
Depends
is depended on by DRIVERS-421 Cursor iteration should complete (abn... Closed

 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.

Generated at Wed Feb 07 21:14:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.