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

Fix a prepare commit bug that could leave the history store entry unresolved

    XMLWordPrintable

    Details

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

      Description

      The prepare commit leaves the history store entry as unresolved when a prepared update is inserted and removed by the same prepared transaction.

      Earlier we never write the same transaction prepared update and tombstone to the disk. The tombstone is added to the previous update, but later it is changed to move all the squash logic into the history store lead to this error.

      The fix is to allow fixing the history store entry even for commit operation also.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: