[CXX-2438] Change streams support for user-facing PIT pre- and post-images Created: 02/Feb/22  Updated: 28/Oct/23  Resolved: 19/Aug/22

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 3.7.0

Type: Improvement Priority: Major - P3
Reporter: PM Bot Assignee: Ezra Chung
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from DRIVERS-1915 Change streams support for user-facin... Closed
Related
related to CXX-2499 Add createCollection and collMod spec... Closed
Server Compat: 6.0
Quarter: FY23Q2
Upstream Changes Summary:

DRIVERS-1915:
Change stream watch helpers now accept "whenAvailable" and "required" for the fullDocument option. Additionally, a new fullDocumentBeforeChange option is introduced, which accepts "whenAvailable" and "required". Change events may now include a fullDocumentBeforeChange response field.

The create and collMod commands now support a changeStreamPreAndPostImages option that accepts: {enabled: <boolean>}. The listCollections command will also report changeStreamPreAndPostImages (if set) when returning full collection info.

Drivers should sync unified change stream tests with 8978899.

Note: testing may require starting mongod with --setParameter featureFlagChangeStreamPreAndPostImages=true if the "latest" server build does not include SERVER-52282.


 Description   

This ticket was split from DRIVERS-1915, please see that ticket for a detailed description.



 Comments   
Comment by Ezra Chung [ 19/Aug/22 ]

PR: https://github.com/mongodb/mongo-cxx-driver/pull/885

Commit: https://github.com/mongodb/mongo-cxx-driver/commit/51e570163744f36f28a106967577369b65be3ea4

 

Comment by PM Bot [ 02/Feb/22 ]

If you are not logged in, you can view the tickets in this epic by following this link.

Generated at Wed Feb 07 22:05:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.