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

Use file_cursors, not hs cursors when truncating the history store

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Truncate
    • Labels:
    • Storage Engines
    • 5
    • 2024-06-25 - Climbing BTrees, 2024-07-09 - Nyan Cat

      Covered in detail in this comment on WT-13166. We have a WT_CURSOR_HS history store cursor that is being incorrectly cast to a WT_CURSOR_BTREE, so accesses to WT_CURSOR_BTREE fields are actually reading the contents of different WT_CURSOR_HS fields.

      The code needs to be updated to correctly fetch the btree from a history store cursor, or possibly removed.

            Assignee:
            andrew.morton@mongodb.com Andrew Morton
            Reporter:
            andrew.morton@mongodb.com Andrew Morton
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: