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

XMLWordPrintableJSON

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

      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
            Reporter:
            Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: