[SERVER-39674] Modify Change Streams match filter to be aware of prepared transactions Created: 19/Feb/19 Updated: 29/Oct/23 Resolved: 26/Feb/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.9 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Justin Seyster | Assignee: | James Wahlin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Query 2019-03-11 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
The filter from DocumentSourceChangeStream::buildMatchFilter() needs to 1) discard applyOps commands with a true "prepared" field and 2) accept "commit" commands for relevant namespaces.
The former can be implemented by modifying getTxnApplyOpsFilter(). |
| Comments |
| Comment by Githook User [ 26/Feb/19 ] |
|
Author: {'name': 'James Wahlin', 'email': 'james@mongodb.com', 'username': 'jameswahlin'}Message: |