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

Generate endOfTransaction change stream event for unprepared transactions

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Execution
    • Fully Compatible
    • QE 2023-06-26, QE 2023-07-10, QE 2023-07-24

      When we see committed unprepared transaction in DocumentSourceChangeStreamUnwindTransaction, we can safely append no-op oplog entry about the end of this transaction to the stream.

      This no-op entry should be filtered according to the namespaces, affected by the transaction.

      This entry should be transformed into change stream event. 

      Event should only appear if showExpandedEvents is true

       

            Assignee:
            ivan.fefer@mongodb.com Ivan Fefer
            Reporter:
            ivan.fefer@mongodb.com Ivan Fefer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: