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

Python test to reproduce checkpoint cursor assertion

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • WT11.2.0, 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • c(3x10^8)-StorEng - 2023-11-14

      I have a Python test that reproduces the failure seen in WT-9440. (That is, it fails on the original WT-9439 branch, and not on the new one.) Since otherwise this problem happens only under load and not often even then, this seems like a plus.

      The failure occurred when opening the history store while reading a checkpoint cursor, if the metadata had been evicted and needed to be reread. There's a path in the row-store inmem code that does global visibility tests, which can interact with the checkpoint cursor. This can be reached by forcibly evicting the metadata; otherwise it doesn't happen much.

      I'm putting the test in its own ticket because we don't want to hold up merging WT-9439 as it's in turn holding up WT-9252 :-|

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            dholland+wt@sauclovia.org David Holland
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: