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

Storage engine's updateRecord function should take oldRec

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Works as Designed
    • Affects Version/s: 2.7.8
    • Fix Version/s: None
    • Component/s: Storage
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: