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

Review uses of WTI_OFFSET_END for off-by-one errors

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Live Restore
    • Storage Engines

      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:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            andrew.morton@mongodb.com Andrew Morton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: