re-order change streams collection writes in OpObserverImpl methods

XMLWordPrintableJSON

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

      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
              Reporter:
              Benety Goh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: