disagg: test_timestamp26.py crash in timestamp usage check

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Test Python
    • None
    • Storage Engines, Storage Engines - Transactions
    • None
    • None

      Running this test under the disagg hook gives a crash:

      gdb --args python3 ../test/suite/run.py -v 2 --hook disagg test_timestamp26.test_timestamp26_log_ts -s 3(gdb) bt
      #0  0x0000fffff769f200 in ?? () from /lib/aarch64-linux-gnu/libc.so.6
      #1  0x0000fffff765a67c in raise () from /lib/aarch64-linux-gnu/libc.so.6
      #2  0x0000fffff7647130 in abort () from /lib/aarch64-linux-gnu/libc.so.6
      #3  0x0000fffff6bdaeac in __wt_abort (session=0x824660) at /home/dda/wt/git/wt-15262-python-tests-stability-triage/src/os_common/os_abort.c:31
      #4  0x0000fffff6d07b8c in __wt_txn_timestamp_usage_check (session=0x824660, op=0x772f90, op_ts=10, prev_op_durable_ts=0)
          at /home/dda/wt/git/wt-15262-python-tests-stability-triage/src/include/txn_inline.h:587
      #5  0x0000fffff6d07ea4 in __wt_txn_op_set_timestamp (session=0x824660, op=0x772f90, validate=true)
          at /home/dda/wt/git/wt-15262-python-tests-stability-triage/src/include/txn_inline.h:675
      #6  0x0000fffff6d0f778 in __wt_txn_commit (session=0x824660, cfg=0xffffffffd960)
          at /home/dda/wt/git/wt-15262-python-tests-stability-triage/src/txn/txn.c:1615
      #7  0x0000fffff6c98ad8 in __session_commit_transaction (wt_session=0x824660, config=0x621270 "commit_timestamp=a")
          at /home/dda/wt/git/wt-15262-python-tests-stability-triage/src/session/session_api.c:1859
      #8  0x0000fffff6ee82d8 in _wrap_Session_commit_transaction (self=0xfffff70f8e00, args=0xfffff638f500)
          at /home/dda/wt/git/wt-15262-python-tests-stability-triage/build/lang/python/CMakeFiles/wiredtiger_python.dir/wiredtigerPYTHON_wrap.c:6984
      #9  0x0000fffff79a06fc in cfunction_call (func=0xfffff713a5c0, args=<optimized out>, kwargs=<optimized out>)
          at ../src/Python-3.10.4/Objects/methodobject.c:552
       

      Note: this ticket is primarily concerned with understanding and fixing the abort/crash. That alone may not fix the test, and it's okay to defer and regular logic failures to another ticket. However, if the fix allows the test to pass, please remove the test/tests from the test/hook_disagg.fail list so they will be tested regularly in Evergreen.

      If an illegal flag combination appears due to programmer error, WT should return an error code, not assert.

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

              Created:
              Updated:
              Resolved: