Modify Change Streams match filter to be aware of prepared transactions

XMLWordPrintableJSON

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

      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
            Reporter:
            Justin Seyster
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: