Multiple discarded pages in chain

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Reconciliation
    • None

      test/format just uncovered the following issue on the feature branch with parallel checkpoints:

      [2026/03/30 10:01:20.087]     [1774879259:844209][5276:0x7f13fbee1700], t, file:T00002.wt_stable, WT_CURSOR.insert: [WT_VERB_EXTENSION][ERROR]: ext/page_log/palite/palite.cpp:1934: Pages::verify_chain(const std::vector<PageInfo>&, uint64_t)::<lambda(const PageInfo&)>: Multiple discarded pages in chain: {table_id=33, page_id=12471, lsn=367243, backlink_lsn=367223, base_lsn=313320, flags=0x10002}, {table_id=33, page_id=12471, lsn=373759, backlink_lsn=313320, base_lsn=313320, flags=0x10002}
      [2026/03/30 10:01:20.087]     [1774879259:844327][5276:0x7f13fbee1700], t, file:T00002.wt_stable, WT_CURSOR.insert: [WT_VERB_EXTENSION][ERROR]: ext/page_log/palite/palite.cpp:570: int safe_call(WT_SESSION*, S*, MemberFunc, Args&& ...) [with T = PaliteHandle; S = __wt_page_log_handle; MemberFunc = int (PaliteHandle::*)(long unsigned int, long unsigned int, __wt_page_log_discard_args*); Args = {long unsigned int&, long unsigned int&, __wt_page_log_discard_args*&}; WT_SESSION = __wt_session]: Call failed
      

      It is unclear if this issue was just exposed by parallel checkpoints feature, or if it was caused by it.

      Stack trace:

      #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      #1  0x00007f14064cb859 in __GI_abort () at abort.c:79
      #2  0x00007f1406aab83b in __wt_abort (session=session@entry=0x138ebfca32f0) at /data/mci/f71e9890a289ab190e8e1f1d157337b7/wiredtiger/src/os_common/os_abort.c:32
      #3  0x00007f1406b5b6cc in __wt_panic_func (session=session@entry=0x138ebfca32f0, error=error@entry=22, func=func@entry=0x7f1406c5e300 <__PRETTY_FUNCTION__.63> "__reconcile", line=line@entry=445, category=category@entry=WT_VERB_DEFAULT, fmt=fmt@entry=0x7f1406c07af8 "reconciliation failed after building the disk image") at /data/mci/f71e9890a289ab190e8e1f1d157337b7/wiredtiger/src/support/err.c:611
      #4  0x00007f1406afb2dd in __reconcile (session=session@entry=0x138ebfca32f0, ref=ref@entry=0x138ebfe77180, salvage=salvage@entry=0x0, flags=flags@entry=2730, page_lockedp=page_lockedp@entry=0x7f13fbede09f) at /data/mci/f71e9890a289ab190e8e1f1d157337b7/wiredtiger/src/reconcile/rec_write.c:445
      #5  0x00007f1406af9b82 in __wt_reconcile (session=session@entry=0x138ebfca32f0, ref=ref@entry=0x138ebfe77180, salvage=salvage@entry=0x0, flags=flags@entry=2730) at /data/mci/f71e9890a289ab190e8e1f1d157337b7/wiredtiger/src/reconcile/rec_write.c:127
      #6  0x00007f1406a64f74 in __evict_reconcile (session=session@entry=0x138ebfca32f0, ref=ref@entry=0x138ebfe77180, evict_flags=evict_flags@entry=4) at /data/mci/f71e9890a289ab190e8e1f1d157337b7/wiredtiger/src/evict/evict_page.c:1271
      #7  0x00007f1406a67384 in __wt_evict (session=session@entry=0x138ebfca32f0, ref=ref@entry=0x138ebfe77180, previous_state=previous_state@entry=3 '\003', flags=flags@entry=4) at /data/mci/f71e9890a289ab190e8e1f1d157337b7/wiredtiger/src/evict/evict_page.c:434
      #8  0x00007f1406926eeb in __wt_page_release_evict (session=session@entry=0x138ebfca32f0, ref=ref@entry=0x138ebfe77180, flags=flags@entry=0) at /data/mci/f71e9890a289ab190e8e1f1d157337b7/wiredtiger/src/btree/bt_read.c:141
      #9  0x00007f14068e36a8 in __wt_page_release (session=session@entry=0x138ebfca32f0, ref=0x138ebfe77180, flags=flags@entry=0) at /data/mci/f71e9890a289ab190e8e1f1d157337b7/wiredtiger/src/include/btree_inline.h:2503
      #10 0x00007f14068e5b00 in __cursor_reset (cbt=cbt@entry=0x138eb1a9b400) at /data/mci/f71e9890a289ab190e8e1f1d157337b7/wiredtiger/src/include/cursor_inline.h:309
      #11 0x00007f14068e7911 in __wt_btcur_insert (cbt=cbt@entry=0x138eb1a9b400) at /data/mci/f71e9890a289ab190e8e1f1d157337b7/wiredtiger/src/btree/bt_cursor.c:1132
      #12 0x00007f14069fb782 in __curfile_insert (cursor=0x138eb1a9b400) at /data/mci/f71e9890a289ab190e8e1f1d157337b7/wiredtiger/src/cursor/cur_file.c:389
      #13 0x00007f1406a1304d in __clayered_put (session=session@entry=0x138ebfca32f0, clayered=clayered@entry=0x138eb0987440, key=key@entry=0x138eb0987560, value=value@entry=0x7f13fbedf880, position=position@entry=false, reserve=reserve@entry=false) at /data/mci/f71e9890a289ab190e8e1f1d157337b7/wiredtiger/src/cursor/cur_layered.c:1548
      #14 0x00007f1406a20185 in __clayered_insert (cursor=0x138eb0987440) at /data/mci/f71e9890a289ab190e8e1f1d157337b7/wiredtiger/src/cursor/cur_layered.c:1710
      #15 0x00000000004144cf in row_insert (tinfo=tinfo@entry=0x138e99110a80, positioned=positioned@entry=false) at /data/mci/f71e9890a289ab190e8e1f1d157337b7/wiredtiger/test/format/ops.c:1995
      #16 0x0000000000414f7a in table_op (tinfo=tinfo@entry=0x138e99110a80, intxn=intxn@entry=true, iso_level=iso_level@entry=ISOLATION_SNAPSHOT, op=<optimized out>, op@entry=INSERT) at /data/mci/f71e9890a289ab190e8e1f1d157337b7/wiredtiger/test/format/ops.c:822
      #17 0x000000000041679f in ops (arg=0x138e99110a80) at /data/mci/f71e9890a289ab190e8e1f1d157337b7/wiredtiger/test/format/ops.c:1320
      #18 0x00007f140681f609 in start_thread (arg=<optimized out>) at pthread_create.c:477
      #19 0x00007f14065c8353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
      

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Peter Macko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: