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

Assertion failure in tiered schema_abort test

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • StorEng - Refinement Pipeline

      While trying to reproduce WT-9538, it immediately hits an assertion that was recently added as part of WT-8201.

      Parent: compatibility: false, in-mem log sync: false, timestamp in use: true
      Parent: Create 5 threads; sleep 10 seconds
      CONFIG: test_schema_abort -B -h WT_TEST-0 -T 5 -t 10
      Create checkpoint thread
      Create timestamp thread
      Create flush_tier thread
      Create 5 writer threads
      Thread 1 starts at 1000000000
      Thread 3 starts at 3000000000
      Thread 0 starts at 0
      Thread 4 starts at 4000000000
      Thread 2 starts at 2000000000
      SET STABLE: d2 210
      Checkpoint 1 complete.  Minimum ts 13448
      [1660589091:366158][9265:0x7fa32c89f700], tiered:wt.64, WT_CURSOR.close: [WT_VERB_DEFAULT][ERROR]: void __wt_session_dhandle_writeun
      lock(WT_SESSION_IMPL *), 789: FLD_ISSET(session->dhandle->lock_flags, WT_DHANDLE_LOCK_WRITE)
      [1660589091:366188][9265:0x7fa32c89f700], tiered:wt.64, WT_CURSOR.close: [WT_VERB_DEFAULT][ERROR]: void __wt_abort(WT_SESSION_IMPL *
      ), 28: aborting WiredTiger library
      Parent: compatibility: false, in-mem log sync: false, timestamp in use: true
      Parent: Create 5 threads; sleep 10 seconds
      CONFIG: test_schema_abort -B -h WT_TEST-0 -T 5 -t 10
      test_schema_abort: FAILED: Child process 9265 abnormally exited: Invalid argument
      

      The thread's stack is:

      #2  0x00007fa339d166f4 in __wt_abort (session=0x7fa33a282510) at ../src/os_common/os_abort.c:30
      #3  0x00007fa339d9b93c in __wt_session_dhandle_writeunlock (session=0x7fa33a282510) at ../src/session/session_dhandle.c:789
      #4  0x00007fa339d9bd7b in __wt_session_release_dhandle (session=0x7fa33a282510) at ../src/session/session_dhandle.c:277
      #5  0x00007fa339c584a6 in __curfile_close (cursor=0x7fa2fc100900) at ../src/cursor/cur_file.c:655
      #6  0x0000000000405fac in test_bulk_unique (td=0x2439f70, force=0) at ../test/csuite/schema_abort/main.c:279
      #7  0x0000000000404be8 in thread_run (arg=0x2439f70) at ../test/csuite/schema_abort/main.c:724
      #8  0x00007fa3398dd6db in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
      

      This is easily reproducible with this command, so far 100% of the time:

      ./test_schema_abort -B
      

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: