Add a test to verify checkpointing truncation in durable history

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • WT10.0.0, 4.4.0-rc5, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage - Ra 2020-05-18
    • 3

      There is an outdate comment in bt_sync.c leading me to believe checkpointing truncation doesn't work in durable history:

      For example, if the stable timestamp at 2 and we truncate a page at timestamp 3. According to the comment, as the truncate is visible to checkpoint, checkpoint will skip the page, which should cause problems if we need to rollback the truncate in rollback to stable.

      However, I found the code is working in my test. So I checked the code and found the code doesn't work as the way described in the comment.

      Instead of ignoring the page, we write a proxy cell in the page's parent and everything works.

              Assignee:
              Chenhao Qu
              Reporter:
              Chenhao Qu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: