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

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

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

      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@mongodb.com Monica Ng
            Reporter:
            chenhao.qu@mongodb.com Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: