Handle inserting update to the history store racing with prepared commit and rollback

XMLWordPrintableJSON

    • Storage Engines, Storage Engines - Transactions
    • SE Transactions - 2025-08-15
    • 5

      Previously, checkpoint cannot write prepared updates to disk so we don't need to worry about inserting to the history store racing with prepared commit or rollback. However, it is now possible with the preserve prepared change. There are a lot of places in the history store insert code that we assume the update cannot change. We need to handle that and it is non-trivial.

            Assignee:
            Chenhao Qu
            Reporter:
            Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: