[CDRIVER-3036] mongoc_change_stream_next should error if resume token is invalid Created: 22/Mar/19  Updated: 28/Oct/23  Resolved: 26/Mar/19

Status: Closed
Project: C Driver
Component/s: libmongoc
Affects Version/s: None
Fix Version/s: 1.15.0

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

Issue Links:
Related
is related to CDRIVER-2925 Support 'startAfter' option to the $c... Closed

 Description   

mongoc_change_stream_next() currently reports an error if the resume token (_id) is missing. It should also error if the field exists but is not a document type.



 Comments   
Comment by Githook User [ 26/Mar/19 ]

Author:

{'email': 'jmikola@gmail.com', 'name': 'Jeremy Mikola', 'username': 'jmikola'}

Message: CDRIVER-3036 error on invalid document resume token
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/5da7a0ceb905108bb7cec5a4f4fed0139ddc52bf

Comment by Jeremy Mikola [ 22/Mar/19 ]

https://mongodbcr.appspot.com/456180001/

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