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

move retryable findAndModify image logic out of OpObserverImpl

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution NAMR Team 2023-07-24, Execution NAMR Team 2023-08-07

    Description

      Currently the logic for writing retryable findAndModify images to config.image_collection is embedded in the OpObserverImpl methods for writing the oplog entries (See update example). To support future work in streamlining the OpObserverImpl oplog generation logic (see SERVER-74100 and SERVER-74121), it would help to extract the findAndModify logic into a separate OpObserver implementation. We had recently completed a similar exercise for change streams pre-images in SERVER-78310.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: