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

RTS to abort all the updates from a prepared transaction

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.4.6, WT10.0.1, 5.0.0-rc0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      3
    • Sprint:
      Storage - Ra 2021-05-03
    • Backport Requested:
      v4.4

      Description

      RTS is not properly handling when insert and remove operations both are done under a single prepared transaction and they are written to disk. As part of aborting these updates by RTS when the prepared timestamp is less than the stable timestamp, it only aborts the remove operation and retains insert operation done by the prepared transaction.

      Due to which the uncommitted prepared insert is retained on the disk lead to the duplicate key failure when the same key gets inserted again. 

        Attachments

          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: