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

Update connection base write generation number at the end of recovery checkpoint

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT10.0.1, 4.4.9, 5.0.3, 5.1.0-rc0
    • Component/s: None
    • Labels:
    • Story Points:
      3
    • Sprint:
      Storage - Ra 2021-08-23
    • Backport Requested:
      v5.0, v4.4

      Description

      Rollback to stable is enhanced to bring back the checkpoint consistency by rollbacking the additional data according to the checkpoint snapshot. To achieve it, all the transaction ids that are written to the cells must be retained until the rollback to stable is finished.

      There shouldn't be any existence of transaction ids after successful rollback to stable followed by a checkpoint, but if the page has any other updates with transaction ids and these are written as it is to the disk lead to them cause the data visibility problems.

      To fix the data visibility problem, we cleared all the transaction ids present on the page whenever a page gets written to the disk during recovery, but clearing the transaction ids when rollback to stable is happening leads to the wrong rollback to stable operation as it doesn't find the required stable version in the history store.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: