Leaked prepared update during eviction reconciliation

XMLWordPrintableJSON

      format-stress-test-3 on ubuntu2004-arm64-nonstandalone

      Host: i-03154aeb37fb0a878
      Project: wiredtiger
      Commit: 5f97222a
      Please refer to BF(G) Playbook for instructions on handling BF and BFG tickets as well as Auto-Resolution Rules

      Task Logs:

      format-stress-test-3 task_log

      Logs:

      8e9c26a68c WT-10570 Allow remove operations in test/format running with predictable replay (#13484)
      

      logs

      format-stress-test-3 task_log

      Logs:

          [1777038400:984616][58389:0xffffabd3fc80], t, file:T00001.wt, WT_CURSOR.reset: [WT_VERB_DEFAULT][ERROR]: __rec_upd_select, 887: WiredTiger assertion failed: '!((((r)->flags) & (0x020u)) != 0) || prepare_rollback_tombstone != ((void *)0) || upd->next != ((void *)0) || !(vpack != ((void *)0) && vpack->type != (4 << 4)) || !(((&vpack->tw)->start_prepared_id != 0 || (&vpack->tw)->start_prepare_ts != 0) || ((&vpack->tw)->stop_prepared_id != 0 || (&vpack->tw)->stop_prepare_ts != 0))'. leaked prepared update.
          [1777038400:984642][58389:0xffffabd3fc80], t, file:T00001.wt, WT_CURSOR.reset: [WT_VERB_DEFAULT][ERROR]: __wt_abort, 29: aborting WiredTiger library
      

      logs

      format-stress-test-3 task_log

      Logs:

      test/format run configuration highlights
      

      logs

      format-stress-test-3 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  0x0000ffffb90c8aac in __GI_abort () at abort.c:79
      #2  0x0000ffffb959d228 in __wt_abort (session=session@entry=0x13da3feb7c00) at /data/mci/85680b44428e8907bda89d24f74ba396/wiredtiger/src/os_common/os_abort.c:32
      #3  0x0000ffffb95d9eb0 in __rec_upd_select (session=session@entry=0x13da3feb7c00, r=r@entry=0x13da15dd9200, vpack=vpack@entry=0xffffabd3d718, first_upd=first_upd@entry=0x13da0d1de2c0, upd_select=upd_select@entry=0xffffabd3d698, first_txn_updp=first_txn_updp@entry=0xffffabd3d1c8, has_newer_updatesp=has_newer_updatesp@entry=0xffffabd3d1bf, write_prepare=write_prepare@entry=0xffffabd3d1be, upd_memsizep=upd_memsizep@entry=0xffffabd3d1c0) at /data/mci/85680b44428e8907bda89d24f74ba396/wiredtiger/src/reconcile/rec_visibility.c:887
      #4  0x0000ffffb95dd640 in __wti_rec_upd_select (session=session@entry=0x13da3feb7c00, r=r@entry=0x13da15dd9200, ins=ins@entry=0x0, rip=rip@entry=0x13da27763f08, vpack=vpack@entry=0xffffabd3d718, upd_select=upd_select@entry=0xffffabd3d698) at /data/mci/85680b44428e8907bda89d24f74ba396/wiredtiger/src/reconcile/rec_visibility.c:1494
      #5  0x0000ffffb95d3288 in __wti_rec_row_leaf (session=session@entry=0x13da3feb7c00, r=r@entry=0x13da15dd9200, pageref=pageref@entry=0x13da2165d7c0, salvage=salvage@entry=0x0) at /data/mci/85680b44428e8907bda89d24f74ba396/wiredtiger/src/reconcile/rec_row.c:1138
      #6  0x0000ffffb95ea560 in __reconcile (session=session@entry=0x13da3feb7c00, ref=ref@entry=0x13da2165d7c0, salvage=salvage@entry=0x0, flags=flags@entry=2722, page_lockedp=page_lockedp@entry=0xffffabd3e0ef) at /data/mci/85680b44428e8907bda89d24f74ba396/wiredtiger/src/reconcile/rec_write.c:312
      #7  0x0000ffffb95e967c in __wt_reconcile (session=session@entry=0x13da3feb7c00, ref=ref@entry=0x13da2165d7c0, salvage=salvage@entry=0x0, flags=flags@entry=2722) at /data/mci/85680b44428e8907bda89d24f74ba396/wiredtiger/src/reconcile/rec_write.c:127
      #8  0x0000ffffb9557864 in __evict_reconcile (session=session@entry=0x13da3feb7c00, ref=ref@entry=0x13da2165d7c0, evict_flags=evict_flags@entry=4) at /data/mci/85680b44428e8907bda89d24f74ba396/wiredtiger/src/evict/evict_page.c:1280
      #9  0x0000ffffb9559b28 in __wt_evict (session=session@entry=0x13da3feb7c00, ref=ref@entry=0x13da2165d7c0, previous_state=previous_state@entry=3 '\003', flags=flags@entry=4) at /data/mci/85680b44428e8907bda89d24f74ba396/wiredtiger/src/evict/evict_page.c:443
      #10 0x0000ffffb9427fec in __wt_page_release_evict (session=session@entry=0x13da3feb7c00, ref=0x13da2165d7c0, flags=flags@entry=0) at /data/mci/85680b44428e8907bda89d24f74ba396/wiredtiger/src/btree/bt_read.c:141
      #11 0x0000ffffb93ea048 in __cursor_reset (cbt=cbt@entry=0x13da296bfe00) at /data/mci/85680b44428e8907bda89d24f74ba396/wiredtiger/src/include/cursor_inline.h:307
      #12 0x0000ffffb93eaba4 in __wt_btcur_reset (cbt=cbt@entry=0x13da296bfe00) at /data/mci/85680b44428e8907bda89d24f74ba396/wiredtiger/src/btree/bt_cursor.c:575
      #13 0x0000ffffb94ec7d4 in __curfile_reset (cursor=0x13da296bfe00) at /data/mci/85680b44428e8907bda89d24f74ba396/wiredtiger/src/cursor/cur_file.c:273
      #14 0x000000000041584c in table_op (tinfo=tinfo@entry=0x13da3a83ee00, intxn=intxn@entry=true, iso_level=iso_level@entry=ISOLATION_SNAPSHOT, op=<optimized out>, op@entry=READ) at /data/mci/85680b44428e8907bda89d24f74ba396/wiredtiger/test/format/ops.c:962
      #15 0x0000000000416b7c in ops (arg=0x13da3a83ee00) at /data/mci/85680b44428e8907bda89d24f74ba396/wiredtiger/test/format/ops.c:1328
      #16 0x0000ffffb931d624 in start_thread (arg=0x4161ec <ops>) at pthread_create.c:477
      #17 0x0000ffffb917966c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78
      

      logs

      Repro Artifacts:

            Assignee:
            Chenhao Qu
            Reporter:
            xgen-buildbaron-user
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: