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

Storage engine's updateRecord function should take oldRec

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.7.8
    • Component/s: Storage
    • None

      For storage engines that do transactional size checking, the old record is necessary to know the data size delta for the running update. Re-reading it from storage is not very cheap so the API should just include the oldRec, since it is readily available to the caller.

      Related to https://jira.mongodb.org/browse/SERVER-15701

            Assignee:
            Unassigned Unassigned
            Reporter:
            john.esmet@gmail.com John Esmet
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: