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

Fail to find prepared updates during transaction rollback

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.4, 4.1.5, WT3.2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 1
    • Storage Engines 2018-10-08

      test/format failed while attempting to find prepared updates during rollback transaction scenario in stress testing on PPC machine. This looks related to recently merged WT-4220
      http://build.wiredtiger.com:8080/job/wiredtiger-test-format-stress-ppc/19310/console

      ...
      + for i in '{1..10}'
      + eval SEGFAULT_SIGNALS=all nice catchsegv ./t -1 -c ../../../test/format/CONFIG.stress
      ++ SEGFAULT_SIGNALS=all
      ++ nice catchsegv ./t -1 -c ../../../test/format/CONFIG.stress
      [1539076236:202508][14059:0x3fff6d7ff1b0], t, file:wt.wt, WT_SESSION.rollback_transaction: __wt_txn_resolve_prepared_op, 356: upd != NULL || txn->multi_update_count != 0
      [1539076236:202534][14059:0x3fff6d7ff1b0], t, file:wt.wt, WT_SESSION.rollback_transaction: __wt_abort, 30: aborting WiredTiger library
      t: process 14059
      *** Aborted
      Register dump:
      sr0=00003fff801ce4d8 sr1=800000010280f033 dar=00003fff286a0000 dsi=42000000
      lr=00003fff801d0658  ctr=0000000000000000 gr3*=00000000000036eb trap=00000c00
      ccr=44002824  xer=00000000
      gr0-3:   00000000000000fa 00003fff6d7fbdf0 00003fff80369768 0000000000000000
      gr4-7:   0000000000003769 0000000000000006 0000000000000008 0000000000000002
      gr8-11:  0000000000000000 0000000000000000 0000000000000000 0000000000000000
      gr12-15: 0000000000000000 00003fff6d8068e0 0000000000000000 0000000000000000
      gr16-19: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
      gr20-23: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
      gr24-27: 0000000000000000 0000000000000000 0000000000000000 00003fff8055fdf0
      gr28-31: 00003fff804543b8 00000000003d0f00 00003fff6d7fbea8 0000000000000006
      fscr=0000000082008000
      fp0-3:   3ff0000000000000 0000000000000000 0000000000000000 41d6ef1c23000000
      fp4-7:   0000000000000000 0000000000000000 0000000000000000 0000000000000000
      fp8-11:  0000000000000000 0000000000000000 41d6ef1c23000000 7ff0000000000000
      fp12-15: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
      fp16-19: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
      fp20-23: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
      fp24-27: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
      fp28-31: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
      
      Backtrace:
      /lib64/libSegFault.so(+0x1734)[0x3fff804d1734]
      ??:0(??)[0x3fff80500478]
      /lib64/power8/libc.so.6(abort+0x27c)[0x3fff801d072c]
      /home/jenkins/jenkins/workspace/wiredtiger-test-format-stress-ppc/build_posix/../src/os_common/os_abort.c:32(__wt_abort)[0x1006ee78]
      /home/jenkins/jenkins/workspace/wiredtiger-test-format-stress-ppc/build_posix/../src/include/txn.i:356 (discriminator 1)(__wt_txn_resolve_prepared_op)[0x100decb0]
      /home/jenkins/jenkins/workspace/wiredtiger-test-format-stress-ppc/build_posix/../src/txn/txn.c:1119(__wt_txn_rollback)[0x100e28d8]
      /home/jenkins/jenkins/workspace/wiredtiger-test-format-stress-ppc/build_posix/../src/session/session_api.c:1737(__session_rollback_transaction)[0x100bfa1c]
      /home/jenkins/jenkins/workspace/wiredtiger-test-format-stress-ppc/build_posix/test/format/../../../test/format/ops.c:594(rollback_transaction)[0x1000c498]
      /home/jenkins/jenkins/workspace/wiredtiger-test-format-stress-ppc/build_posix/test/format/../../../test/format/ops.c:1086(ops)[0x1000e220]
      /lib64/power8/libpthread.so.0(+0x8944)[0x3fff80428944]
      /lib64/power8/libc.so.6(clone+0x98)[0x3fff802a7640]
      

            Assignee:
            vamsi.krishna@mongodb.com Vamsi Boyapati
            Reporter:
            luke.chen@mongodb.com Luke Chen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: