Review uses of WTI_OFFSET_END for off-by-one errors

XMLWordPrintableJSON

    • Type: Technical Debt
    • Resolution: Won't Do
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Live Restore
    • Storage Engines, Storage Engines - Persistence
    • None
    • None

      In the past we used WTI_OFFSET_END to report the last bit in a range (inclusive), but now we report the first bit after the end of the range. See this code here where the comment is out of date.

      The comment has since been updated, but we should review all uses of the macro to make sure they're treating the offset correctly and not still assuming the returned bit is inside the range.

              Assignee:
              [DO NOT USE] Backlog - Storage Engines Team
              Reporter:
              Andrew Morton
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: