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

Clear transaction ids from previous run when repack the cell

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT10.0.1, 4.4.8, 5.0.2, 5.1.0-rc0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      Storage - Ra 2021-07-26

      Description

      WT restarts the transaction ids upon restart. To reset the stale transaction ids written to the data files, the checkpoint write generation numbers are compared against the last connection base write generation number. Upon successful recovery, a checkpoint is triggered to ensure the stable data is written to the disk.

      The recovery checkpoint doesn't include the latest base write generation number used for ongoing operations. It has only the base write generation number calculated at the start of the recovery. Due to this if the server gets restarted again without any further checkpoints, any transaction ids that are written with write generation number between the recovery start to recovery end can lead to data corruption.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: