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

Fix the time window transaction id validity failure with a parent page

    • Storage Engines
    • 3
    • 2024-05-28 - FOLLOW ON SPRINT

      Reproducer:

      cd <wt_build_folder>
      python3 ../test/suite/run.py -p compact12
      
      # Execute wt verify
      ./wt -h WT_TEST/test_compact12.0 verify -t -d dump_blocks "file:test_compact12.wt"
      
      [1715750222:248838][55636:0x1ee237ac0], wt, file:test_compact12.wt, WT_SESSION.verify: [WT_VERB_DEFAULT][ERROR]: int __time_value_validate_parent(WT_SESSION_IMPL *, WT_TIME_WINDOW *, WT_TIME_AGGREGATE *, _Bool), 421: value time window has a start transaction after its parent's newest transaction; time window start: (0, 2)/(0, 2)/2479 | stop: (0, 3)/(0, 3)/12480, parent newest_durable: (0, 2)/(0, 3) | oldest_start: (0, 2)/0 | newest_stop: (4294967295, 4294967295)/18446744073709551605: Invalid argument
      [1715750222:248844][55636:0x1ee237ac0], wt, file:test_compact12.wt, WT_SESSION.verify: [WT_VERB_DEFAULT][ERROR]: int __verify_page_content_leaf(WT_SESSION_IMPL *, WT_REF *, WT_CELL_UNPACK_ADDR *, WT_VSTUFF *), 1191: cell 1 on page at [0: 45056-73728, 28672, 3950501792] newest_durable: (0, 2)/(0, 3) | oldest_start: (0, 2)/0 | newest_stop: (4294967295, 4294967295)/18446744073709551605 failed timestamp validation: Invalid argument
      [1715750222:248860][55636:0x1ee237ac0], wt, file:test_compact12.wt, WT_SESSION.verify: [WT_VERB_DEFAULT][ERROR]: int __verify_ckptfrag_chk(WT_SESSION_IMPL *, WT_BLOCK *), 520: checkpoint ranges never verified: 5
      [1715750222:248867][55636:0x1ee237ac0], wt, file:test_compact12.wt, WT_SESSION.verify: [WT_VERB_DEFAULT][ERROR]: int __verify_filefrag_chk(WT_SESSION_IMPL *, WT_BLOCK *), 434: file ranges never verified: 4
      wt: session.verify: file:test_compact12.wt: Invalid argument
      

      Note that if I remove the -t (Do not clear transaction IDs during verification), the issue does not show up.

            Assignee:
            chenhao.qu@mongodb.com Chenhao Qu
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: