[DRIVERS-1915] Change streams support for user-facing PIT pre- and post-images Created: 08/Sep/21 Updated: 14/Sep/22 Resolved: 14/Sep/22 |
|
| Status: | Closed |
| Project: | Drivers |
| Component/s: | Change Streams |
| Fix Version/s: | None |
| Type: | Spec Change | Priority: | Major - P3 |
| Reporter: | Backlog - Core Eng Program Management Team | Assignee: | Jeremy Mikola |
| Resolution: | Done | Votes: | 0 |
| Labels: | size-medium, spec-change | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Changes: | Needed | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Server Compat: | 6.0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Quarter: | FY23Q2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Upstream Changes Summary: | A summary of downstream visible behavioral changes can be found at https://docs.google.com/document/d/1OCCcnUvjcT5lvh8A21qBdpz9suad6qsNjkTUanWGvyY/edit#bookmark=id.2mzcqwg403ed. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Downstream Changes Summary: | 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 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Engineering Lead: | |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Product Manager: | |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Downstream Change Summary https://docs.google.com/document/d/1VD0BL60sK233Yk2WLgb9MFoK5A0FrEIrr7iumMAzEOU/edit.
Description of Linked TicketEpic Summary SummaryIn the change streams users can get before and after images of the document at the time of the change event MotivationThis has been a user request and will allow us to offer change streams for more use cases while increasing client side debugability. Cast of Characters
DocumentationScope Document |
| Comments |
| Comment by Githook User [ 13/Apr/22 ] |
|
Author: {'name': 'Jeremy Mikola', 'email': 'jmikola@gmail.com', 'username': 'jmikola'}Message:
Per
|
| Comment by Jeremy Mikola [ 08/Apr/22 ] |
| Comment by PM Bot [ 09/Feb/22 ] |
|
If you are not logged in, you can view the tickets in this epic by following this link. |