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

Modify Change Streams match filter to be aware of prepared transactions

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.9
    • Component/s: Aggregation Framework
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Query 2019-03-11

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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: