Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-39674

Modify Change Streams match filter to be aware of prepared transactions

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.9
    • Affects Version/s: None
    • Component/s: Aggregation Framework
    • None
    • Fully Compatible
    • Query 2019-03-11

      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().

            Assignee:
            james.wahlin@mongodb.com James Wahlin
            Reporter:
            justin.seyster@mongodb.com Justin Seyster
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: