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

Checkpoint history store may race with eviction removing contents from the history store

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 4.4.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      Storage - Ra 2020-06-01, Storage - Ra 2020-06-15

      Description

      For mixed mode transaction, we may see eviction concurrently removing records from the history store while we are still checkpointing the history store.

      Here's one scenario.

      Checkpoint runs on the page.

      We commit a mixed mode delete with timestamp 0.

      We commit another update on the key with a normal timestamp.

      Eviction runs on the page writing the new update to the disk and the 0 timestamp tombstone to the history store.

      The 0 timestamp tombstone causes all the history store content of that key being removed.

      Checkpoint runs on the history store.

        Attachments

          Activity

            People

            Assignee:
            luke.pearson Luke Pearson
            Reporter:
            chenhao.qu Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: