[SERVER-78269] Generate endOfTransaction change stream event for unprepared transactions Created: 21/Jun/23  Updated: 29/Oct/23  Resolved: 10/Jul/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: New Feature Priority: Major - P3
Reporter: Ivan Fefer Assignee: Ivan Fefer
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by TOOLS-3341 Investigate changes in SERVER-78269: ... Accepted
Documented
is documented by DOCS-16248 [SERVER] Investigate changes in SERVE... Closed
Duplicate
is duplicated by SERVER-78270 Add transformation from no-op endOfTr... Closed
Assigned Teams:
Query Execution
Backwards Compatibility: Fully Compatible
Sprint: QE 2023-06-26, QE 2023-07-10, QE 2023-07-24
Participants:

 Description   

When we see committed unprepared transaction in DocumentSourceChangeStreamUnwindTransaction, we can safely append no-op oplog entry about the end of this transaction to the stream.

This no-op entry should be filtered according to the namespaces, affected by the transaction.

This entry should be transformed into change stream event. 

Event should only appear if showExpandedEvents is true

 



 Comments   
Comment by Githook User [ 10/Jul/23 ]

Author:

{'name': 'Ivan Fefer', 'email': 'ivan.fefer@mongodb.com', 'username': 'Fefer-Ivan'}

Message: SERVER-78269 Generate endOfTransaction change stream event for unprepared transactions
Branch: master
https://github.com/mongodb/mongo/commit/e4412ccb7678b797757eefb9e34839a76ab5ccfb

Generated at Thu Feb 08 06:37:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.