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

Handle fast truncated pages during RTS for VLCS

    • 8
    • 2024-07-23 - Mining crypto, 2024-08-06 - Withholding Tax
    • v8.0

      format-stress-test-4 on ubuntu2004-stress-tests

      Host: i-08c8808593934ecbf
      Project: wiredtiger
      Commit: 03462273

      Task Logs:

      format-stress-test-4 task_log

      Logs:

          [1721248253:935375][66930:0x7f9afeff5700], t, file:T00001.wt, rts-threads: [WT_VERB_DEFAULT][ERROR]: __rts_btree_abort_update, 98: WiredTiger assertion failed: 'first_upd->prepare_state == 1'. Expression returned false
          [1721248253:935409][66930:0x7f9afeff5700], t, file:T00001.wt, rts-threads: [WT_VERB_DEFAULT][ERROR]: __wt_abort, 28: aborting WiredTiger library
      

      logs

      format-stress-test-4 task_log

      Logs:

      #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      #1  0x00007f9b1daa9859 in __GI_abort () at abort.c:79
      #2  0x00007f9b1deb7738 in __wt_abort (session=session@entry=0x7f9a6545a550) at /data/mci/7d9190ee1fa080ab87a9cdd44a6e912a/wiredtiger/src/os_common/os_abort.c:30
      #3  0x00007f9b1df3ade5 in __rts_btree_abort_update (session=session@entry=0x7f9a6545a550, key=0x7f9adc136dc0, first_upd=0x7f9adc9ce1b0, rollback_timestamp=rollback_timestamp@entry=1092127, stable_update_found=stable_update_found@entry=0x7f9afeff3ecf) at /data/mci/7d9190ee1fa080ab87a9cdd44a6e912a/wiredtiger/src/rollback_to_stable/rts_btree.c:98
      #4  0x00007f9b1df3ba34 in __rts_btree_abort_insert_list (session=session@entry=0x7f9a6545a550, page=page@entry=0x7f9adc11cca0, head=head@entry=0x7f9adc50aa80, rollback_timestamp=rollback_timestamp@entry=1092127, stable_updates_count=stable_updates_count@entry=0x7f9afeff43cc) at /data/mci/7d9190ee1fa080ab87a9cdd44a6e912a/wiredtiger/src/rollback_to_stable/rts_btree.c:216
      #5  0x00007f9b1df4314c in __rts_btree_abort_col_var (session=session@entry=0x7f9a6545a550, ref=ref@entry=0x7f9adcdfa910, rollback_timestamp=rollback_timestamp@entry=1092127) at /data/mci/7d9190ee1fa080ab87a9cdd44a6e912a/wiredtiger/src/rollback_to_stable/rts_btree.c:856
      #6  0x00007f9b1df43992 in __wti_rts_btree_abort_updates (session=session@entry=0x7f9a6545a550, ref=0x7f9adcdfa910, rollback_timestamp=1092127) at /data/mci/7d9190ee1fa080ab87a9cdd44a6e912a/wiredtiger/src/rollback_to_stable/rts_btree.c:1166
      #7  0x00007f9b1df4555e in __rts_btree_walk (session=session@entry=0x7f9a6545a550, rollback_timestamp=<optimized out>, rollback_timestamp@entry=1092127) at /data/mci/7d9190ee1fa080ab87a9cdd44a6e912a/wiredtiger/src/rollback_to_stable/rts_btree_walk.c:142
      #8  0x00007f9b1df45c5b in __wti_rts_btree_walk_btree (session=session@entry=0x7f9a6545a550, rollback_timestamp=rollback_timestamp@entry=1092127) at /data/mci/7d9190ee1fa080ab87a9cdd44a6e912a/wiredtiger/src/rollback_to_stable/rts_btree_walk.c:465
      #9  0x00007f9b1df45ca9 in __rts_btree_int (session=session@entry=0x7f9a6545a550, uri=uri@entry=0x7f9a9456af00 "file:T00001.wt", rollback_timestamp=1092127) at /data/mci/7d9190ee1fa080ab87a9cdd44a6e912a/wiredtiger/src/rollback_to_stable/rts_btree_walk.c:236
      #10 0x00007f9b1df45d4f in __rts_btree (session=session@entry=0x7f9a6545a550, uri=0x7f9a9456af00 "file:T00001.wt", rollback_timestamp=<optimized out>) at /data/mci/7d9190ee1fa080ab87a9cdd44a6e912a/wiredtiger/src/rollback_to_stable/rts_btree_walk.c:250
      #11 0x00007f9b1df45eeb in __wti_rts_btree_work_unit (session=session@entry=0x7f9a6545a550, entry=<optimized out>) at /data/mci/7d9190ee1fa080ab87a9cdd44a6e912a/wiredtiger/src/rollback_to_stable/rts_btree_walk.c:272
      #12 0x00007f9b1df46d66 in __rts_thread_run (session=0x7f9a6545a550, thread=<optimized out>) at /data/mci/7d9190ee1fa080ab87a9cdd44a6e912a/wiredtiger/src/rollback_to_stable/rts.c:75
      #13 0x00007f9b1df6410a in __thread_run (arg=0x7f9a940e8fe0) at /data/mci/7d9190ee1fa080ab87a9cdd44a6e912a/wiredtiger/src/support/thread_group.c:31
      #14 0x00007f9b1dc93609 in start_thread (arg=<optimized out>) at pthread_create.c:477
      #15 0x00007f9b1dba6353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
      

      logs

        1. test_truncate27.py
          5 kB
          Etienne Petrel

            Assignee:
            chenhao.qu@mongodb.com Chenhao Qu
            Reporter:
            Xgen-BuildBaron-User xgen-buildbaron-user
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: