[Disagg] test_checkpoint06: KeyError reading back key after rollback truncation in checkpoint (disagg-leader hook)

XMLWordPrintableJSON

    unit-test-hook-disagg-leader-table-bucket00 on ubuntu2004-release

    Host: i-059858e7df2579675
    Project: wiredtiger
    Commit: 9909e455
    Please refer to BF(G) Playbook for instructions on handling BF and BFG tickets as well as Auto-Resolution Rules

    Task Logs:

    unit-test-hook-disagg-leader-table-bucket00 task_log

    Logs:

    [pid:63252]: ERROR: test_checkpoint06.test_checkpoint06.test_rollback_truncation_in_checkpoint(row_integer.no_prepare)
    ----------------------------------------------------------------------
    [pid:63252]: testtools.testresult.real._StringException: Traceback (most recent call last):
      File "/data/mci/d5556eaa3453763fc26bc479dce52631/wiredtiger/test/suite/wttest.py", line 161, in wrapper
        return func(self, *args, **kwargs)
      File "/data/mci/d5556eaa3453763fc26bc479dce52631/wiredtiger/test/suite/wttest.py", line 309, in _callTestMethod
        method()
      File "/data/mci/d5556eaa3453763fc26bc479dce52631/wiredtiger/test/suite/test_checkpoint06.py", line 108, in test_rollback_truncation_in_checkpoint
        self.assertEqual(cursor[i], value)
      File "/data/mci/d5556eaa3453763fc26bc479dce52631/wiredtiger/cmake_build/lang/python/wiredtiger/swig_wiredtiger.py", line 337, in __getitem__
        raise KeyError
    KeyError
    ----------------------------------------------------------------------
    Ran 2654 tests in 179.393s
    

    logs


    Root cause:

    On a leader, a checkpoint can persist a committed truncate whose stop is newer than the stable timestamp, and reconciliation also marked the on-page value durable. After rollback to stable aborts the tombstone, the value is selected with no tombstone and, being durable, looks unchanged from the previous reconciliation; the skip-write path then keeps the old image (value plus stop) and the key reads back WT_NOTFOUND.

          Assignee:
          [DO NOT USE] Backlog - Storage Engines Team
          Reporter:
          xgen-buildbaron-user
          Votes:
          0 Vote for this issue
          Watchers:
          5 Start watching this issue

            Created:
            Updated: