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

RTS to remove the left over updates in the history store without stop timestamp

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT3.2.2, 4.4.2, 4.7.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      3
    • Sprint:
      Storage - Ra 2020-08-10, Storage - Ra 2020-08-24

      Description

      Rollback to stable doesn't clean the leftover updates in the history store without a stop timestamp can lead to checkpoint cleanup doesn't clean up those pages may lead to increase in history store file size over the time.

      The leftover updates with no stop timestamp in the history store are possible in the following scenarios:

      • During checkpoint is in progress before syncing the history store file, eviction writes any prepared updates of a data store can lead to writing an update to history store without stop timestamp.
      • The updates that are written to the history store due to writing prepared updates to data store are missed to update their stop timestamp when the prepared transaction commits due to a bug in prepare logic.

      To avoid ever-increasing history store file size, RTS must check for the updates in the history store that don't have a stop timestamp and remove them.
       

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: