mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 19:59:54 -05:00
### Does this PR have any customer impact? Yes, it adds support for postBatchResumeToken for change stream cursor. ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) Feature. ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) No ### Are you introducing any new config? If yes, do you have tests with and without them being set? No ### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md)) ### Description PostBatchResume token implementation for change streams ---- #### AI description (iteration 1) #### PR Classification New feature implementation. #### PR Summary This pull request implements the PostBatchResume token for change streams in MongoDB. - Added `AddPostBatchResumeTokenToCursor` function in `cursors.c` to handle the post batch resume token. - Integrated the new function into the `PostProcessCursorPage` function to append the token to the change stream cursor document. Related work items: #2973720