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

avoid writing unneeded fields to no-op oplog entry to findAndModify with retryable writes

    • Type: Icon: Improvement Improvement
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query 2020-09-21, Query 2020-10-05, Query 2020-10-19, Query 2020-11-02, Query 2020-12-14, Query 2020-12-28, Query 2021-01-11, Query 2021-01-25, Query Execution 2021-04-05, Query Execution 2021-04-19

      SERVER-31242 describes how we should apply the original projection to findAndModify when retrying the operation as part of retryable writes project. However, avoiding writing the full document into the no-op oplog entry rather than just the necessary fields would keep size of the oplog small, and may make it unnecessary to do the work described in SERVER-31242.

            Assignee:
            bernard.gorman@mongodb.com Bernard Gorman
            Reporter:
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            15 Vote for this issue
            Watchers:
            46 Start watching this issue

              Created:
              Updated:
              Resolved: