Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-11272

Remove a read barrier on update type which was added to support birthmarks

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.2.0, 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 3
    • 2023-07-11 WiredTractor

      The read barrier in question here was added to pair with a WRITE_BARRIER in __rec_append_orig value which was converting an upd->type from WT_UPDATE_BIRTHMARK to WT_UPDATE_STANDARD. A holdover from the lookaside days.

      We never change upd->type in the current version of the code an thus a read barrier here isn't required.

      Original ticket: WT-5376

      Read barrier

      Write barrier

            Assignee:
            luke.pearson@mongodb.com Luke Pearson
            Reporter:
            luke.pearson@mongodb.com Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: