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

Rewrite cells when the transaction ids are cleared for VLCS

      As part of durable history, transaction id's are stored in the cell to provide a validity window of the version. In WT, the transaction id's are restart from 0 upon server restart, so having older transaction id's in the cell can affect the visibility of the value.

      Due to this, the transaction id's are cleared upon restart. Once they are cleared in the cell, they must be written to disk to let the change to be persisted, but these cells are not re-written to disk for columnar storage types.

      The columnar storage reconciliation code also should consider the similar changes done for the row-store by checking the cell details with WT_CELL_UNPACK_TIME_PAIRS_CLEARED and take a decision in re-writing the cell for both leaf and internal pages.
       
      Along with the changes, write a test to ensure that we are cleared the transaction ids.

            Assignee:
            backlog-server-storage-engines Backlog - Storage Engines Team
            Reporter:
            haribabu.kommi@mongodb.com Haribabu Kommi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: