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

Add a delete record for every insert record into the WT history store to represent stop time pair

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: durable-history
    • Component/s: None
    • Labels:
      None

      Description

      The transactions that do insert operations into the WT history store don’t have timestamp information as the records in the WT history must be visible to every other transaction in the system.

      To find out the validity window of the record that is inserted into the WT history, once the actual record is inserted, followed by a new delete operation to represent the stop time pair of the inserted record. The stop time pair of the delete operation record is the same as the start timestamp of the next version of the key in the data page.

      During the reconciliation, the delete record timestamp is taken and mark it in the previous record as a stop timestamp.

        Attachments

          Activity

            People

            • Assignee:
              haribabu.kommi Haribabu Kommi
              Reporter:
              haribabu.kommi Haribabu Kommi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: