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

move retryable findAndModify image logic out of OpObserverImpl

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

      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.

            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: