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

Handle the last key in the shadow table being removed by rollback to stable in timestamp abort

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.9.0, 4.4.3
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 5
    • Storage - Ra 2020-11-16

      An Evergreen test run on zSeries reported a failure when running test_timestamp_abort. The failure signature was:

      [2020/10/25 23:18:50.747] Parent: compatibility: true, in-mem log sync: false, add timing stress: true, timestamp in use: true
      [2020/10/25 23:18:50.747] Parent: Create 5 threads; sleep 10 seconds
      [2020/10/25 23:18:50.747] CONFIG: test_timestamp_abort -C -s -h WT_TEST.timestamp-abort -T 5 -t 10
      [2020/10/25 23:18:50.747] wiredtiger_open configuration: cache_size=21M,create,debug_mode=(table_logging=true,checkpoint_retention=5),eviction_updates_target=20,eviction_updates_trigger=90,log=(archive=true,file_max=10M,enabled),session_max=2203,statistics=(fast),statistics_log=(wait=1,json=true),transaction_sync=(enabled,method=none),compatibility=(release="2.9"),timing_stress_for_test=[prepare_checkpoint_delay]
      [2020/10/25 23:18:50.747] Create checkpoint thread
      [2020/10/25 23:18:50.747] Create timestamp thread
      [2020/10/25 23:18:50.747] Create 5 writer threads
      [2020/10/25 23:18:54.033] Thread 2 starts at 2000000000
      [2020/10/25 23:18:54.033] Thread 1 starts at 1000000000
      [2020/10/25 23:18:54.033] Thread 4 starts at 4000000000
      [2020/10/25 23:18:54.033] Thread 3 starts at 3000000000
      [2020/10/25 23:18:54.033] Thread 0 starts at 0
      [2020/10/25 23:18:54.033] Checkpoint 0 complete at stable 157970.
      [2020/10/25 23:19:01.898] Checkpoint 1 complete at stable 291901.
      [2020/10/25 23:19:01.898] Checkpoint 2 complete at stable 466289.
      [2020/10/25 23:19:01.898] Checkpoint 3 complete at stable 510627.
      [2020/10/25 23:19:09.945] Checkpoint 4 complete at stable 598715.
      [2020/10/25 23:19:09.945] Checkpoint 5 complete at stable 601232.
      [2020/10/25 23:19:09.945] Parent: compatibility: true, in-mem log sync: false, add timing stress: true, timestamp in use: true
      [2020/10/25 23:19:09.945] Parent: Create 5 threads; sleep 10 seconds
      [2020/10/25 23:19:09.945] CONFIG: test_timestamp_abort -C -s -h WT_TEST.timestamp-abort -T 5 -t 10
      [2020/10/25 23:19:09.945] Kill child
      [2020/10/25 23:19:09.945] Open database, run recovery and verify content
      [2020/10/25 23:19:09.945] Got stable_val 601411
      [2020/10/25 23:19:09.945] records-3: SHADOW no record with key 3000058465
      [2020/10/25 23:19:09.945] SHADOW: 1 record(s) absent from 294720
      

      The failure happened in a patch build testing WT-6811, so may not be a bug on develop. Opening this ticket to record diagnostics, and because it seems unlikely to be related.

            Assignee:
            chenhao.qu@mongodb.com Chenhao Qu
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: