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

Clear transaction ids from previous run when repack the cell

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

      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.

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

              Created:
              Updated:
              Resolved: