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

Race between sweep server and checkpoint interacting with the same dhandle associated with a named checkpoint being removed (7.0)

    • Type: Icon: Build Failure Build Failure
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Checkpoints
    • 8
    • StorEng - 2024-09-17, StorEng - 2024-10-01

      format-stress-sanitizer-ppc-test-1 on rhel8-ppc

      Host: rhel81-ppc-7.pic.build.10gen.cc
      Project: wiredtiger-mongo-v7.0
      Commit: eb70c851

      Task Logs:

      format-stress-sanitizer-ppc-test-1 task_log

      Logs:

          [1725036275:637953][14405:0x7fff8b7ef170], t, file:WiredTigerHS.wt, WT_SESSION.checkpoint: [WT_VERB_DEFAULT][ERROR]: __checkpoint_lock_dirty_tree_int, 1749: checkpoint mine.4 cannot be dropped when in-use: Device or resource busy
          [1725036275:638177][14405:0x7fff8b7ef170], t, file:T00003.wt, WT_SESSION.checkpoint: [WT_VERB_DEFAULT][ERROR]: __wt_block_checkpoint_resolve, 991: T00003.wt: the checkpoint failed, the system must restart: Invalid argument
          [1725036275:638209][14405:0x7fff8b7ef170], t, file:T00003.wt, WT_SESSION.checkpoint: [WT_VERB_DEFAULT][ERROR]: __wt_block_checkpoint_resolve, 991: the process must exit and restart: WT_PANIC: WiredTiger library panic
          [1725036275:638241][14405:0x7fff8b7ef170], t, file:T00003.wt, WT_SESSION.checkpoint: [WT_VERB_DEFAULT][ERROR]: __wt_abort, 28: aborting WiredTiger library
      

      logs

      format-stress-sanitizer-ppc-test-1 task_log

      Logs:

      #0  0x00007fffa9154488 in raise () from /lib64/libc.so.6
      #0  0x00007fffa9154488 in raise () from /lib64/libc.so.6
      #1  0x00007fffa913450c in abort () from /lib64/libc.so.6
      #2  0x00007fffa96203fc in __wt_abort (session=<optimized out>) at /data/mci/80d20b7ba42d96b3aec0eb93225116f6/wiredtiger/src/os_common/os_abort.c:30
      #3  0x00007fffa96d4130 in __wt_panic_func (session=0x1001e9297b0, error=<optimized out>, func=0x7fffa971a380 <__PRETTY_FUNCTION__.20115> "__wt_block_checkpoint_resolve", line=<optimized out>, category=<optimized out>, fmt=<optimized out>) at /data/mci/80d20b7ba42d96b3aec0eb93225116f6/wiredtiger/src/support/err.c:570
      #4  0x00007fffa941d988 in __wt_block_checkpoint_resolve (session=0x1001e9297b0, block=0x100237071e0, failed=<optimized out>) at /data/mci/80d20b7ba42d96b3aec0eb93225116f6/wiredtiger/src/block/block_ckpt.c:990
      #5  0x00007fffa9433e8c in __bm_checkpoint_resolve (bm=<optimized out>, session=<optimized out>, failed=<optimized out>) at /data/mci/80d20b7ba42d96b3aec0eb93225116f6/wiredtiger/src/block_cache/block_mgr.c:205
      #6  0x00007fffa96174c8 in __meta_track_unroll (session=session@entry=0x1001e9297b0, trk=trk@entry=0x7fff7d4d1390) at /data/mci/80d20b7ba42d96b3aec0eb93225116f6/wiredtiger/src/meta/meta_track.c:186
      #7  0x00007fffa96180d4 in __wt_meta_track_off (session=0x1001e9297b0, need_sync=<optimized out>, unroll=<optimized out>) at /data/mci/80d20b7ba42d96b3aec0eb93225116f6/wiredtiger/src/meta/meta_track.c:313
      #8  0x00007fffa970dbc8 in __txn_checkpoint (session=session@entry=0x1001e9297b0, cfg=<optimized out>) at /data/mci/80d20b7ba42d96b3aec0eb93225116f6/wiredtiger/src/txn/txn_ckpt.c:1336
      #9  0x00007fffa970dfb0 in __txn_checkpoint_wrapper (session=session@entry=0x1001e9297b0, cfg=cfg@entry=0x7fff8b7ee620) at /data/mci/80d20b7ba42d96b3aec0eb93225116f6/wiredtiger/src/txn/txn_ckpt.c:1411
      #10 0x00007fffa970e4f4 in __wt_txn_checkpoint (session=0x1001e9297b0, cfg=0x7fff8b7ee620, waiting=<optimized out>) at /data/mci/80d20b7ba42d96b3aec0eb93225116f6/wiredtiger/src/txn/txn_ckpt.c:1488
      #11 0x00007fffa96b2e78 in __session_checkpoint (wt_session=0x1001e9297b0, config=0x7fff8b7ee708 "name=mine.4") at /data/mci/80d20b7ba42d96b3aec0eb93225116f6/wiredtiger/src/session/session_api.c:2366
      #12 0x0000000010006c54 in checkpoint (arg=<optimized out>) at /data/mci/80d20b7ba42d96b3aec0eb93225116f6/wiredtiger/test/format/checkpoint.c:145
      #13 0x00007fffa9398ba0 in start_thread () from /lib64/libpthread.so.0
      #14 0x00007fffa9241398 in clone () from /lib64/libc.so.6
      

      logs

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            Xgen-BuildBaron-User xgen-buildbaron-user
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: