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

re-order change streams collection writes in OpObserverImpl methods

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution NAMR Team 2023-07-10

      In OpObserverImpl, after writing the oplog entry, we may write the pre-image to the change streams collection. As a prerequisite to SERVER-78300, it would be nice to re-order the change streams access to be the last action in the OpObserverImpl methods that require it - after installing the RecoveryUnit commit handler for the session transaction record and writing the image for findAndModify.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: