[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: |
|
||||||||||||||||||||||||
| 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: |