Fast truncate without a timestamp doesn't clear the history store

XMLWordPrintableJSON

    • Storage Engines
    • 2024-04-02 - GreatMugshot, 나비 (nabi) - 2024-04-16
    • 8

      Currently, we don't do any cleanup of the history store for any pages being fast truncated. This creates a problem if we fast truncate the page without a timestamp.

      Suppose the page has a key with timestamp 50, and a history store record with timestamp 30 and we fast truncate the key. Then we reinsert the same key with timestamp 60. The value with timestamp 30 in the history store now comes back to life again.

        1. test_truncate23.py
          4 kB
          Monica Ng

            Assignee:
            Monica Ng
            Reporter:
            Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: