[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:
Depends
is depended on by SERVER-39678 Comprehensive test for resuming a Cha... Closed
Duplicate
duplicates SERVER-35886 Ignore prepareTransaction and abortTr... Closed
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: SERVER-39674 Modify Change Streams match filter to be aware of prepared transactions
Branch: master
https://github.com/mongodb/mongo/commit/d21dab858bd764b9d6b6f35f425af7c4c74607a9

Generated at Thu Feb 08 04:52:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.