Implement rewriting internal page deltas directly into a full page

XMLWordPrintableJSON

    • Storage Engines, Storage Engines - Transactions
    • SE Transactions - 2025-11-07, SE Transactions - 2025-11-21
    • 8

      The current reconstruction of internal page deltas follows a two-step process:

      • Merge all deltas into a single delta array.
      • Apply the merged delta onto the base image.

      The proposed solution is to eliminate the intermediate merge step. Instead, the base image and all deltas will be merged together in a single pass to build a full page disk image. The merge-sort logic remains central, but rather than only constructing an internal page index, the merge process itself will generate the final full disk image.

      This approach avoids the two-phase process and produces a complete disk image directly, which can then be passed into __wti_page_inmem.

            Assignee:
            Ravi Giri
            Reporter:
            Ravi Giri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: