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

row-store leaf page reconciliation code confuses temporary keys with previous keys

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.0.0, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      The row-store reconciliation code uses a single buffer tmpkey, both to hold keys that are used for various history-store file purposes and and overflow key instantiation, as well as the source for the fast-path of prefix compressed key instantiation. I can't find a bug, but it depends on the guarantee the buffer is a good prefix source for itself and the code is complicated enough that I don't trust it.

      Split the buffer usage into two cases and don't let them combine.

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: