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

Fix the case of history store corruption

    XMLWordPrintable

    Details

      Description

      Checkpoint failed and panic in wiredtiger_open when running wt in test_txn19

      #0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
      #1  0x00007f5f30bab801 in __GI_abort () at abort.c:79
      #2  0x00007f5f31b311e3 in __wt_abort (session=0x7f5f320289c0) at ../src/os_common/os_abort.c:30
      #3  0x00007f5f31b947af in __wt_panic (session=0x7f5f320289c0) at ../src/support/err.c:497
      #4  0x00007f5f319e3d44 in __wt_block_panic (session=0x7f5f320289c0) at ../src/block/block_mgr.c:642
      #5  0x00007f5f319dbb93 in __wt_block_checkpoint_resolve (session=0x7f5f320289c0, block=0x15f0140, failed=true) at ../src/block/block_ckpt.c:863
      #6  0x00007f5f319e3084 in __bm_checkpoint_resolve (bm=0x15f1310, session=0x7f5f320289c0, failed=true) at ../src/block/block_mgr.c:131
      #7  0x00007f5f31b2b4a6 in __meta_track_unroll (session=0x7f5f320289c0, trk=0x147d5f8) at ../src/meta/meta_track.c:180
      #8  0x00007f5f31b2bb6c in __wt_meta_track_off (session=0x7f5f320289c0, need_sync=false, unroll=true) at ../src/meta/meta_track.c:305
      #9  0x00007f5f31bb3ee8 in __txn_checkpoint (session=0x7f5f320289c0, cfg=0x7fff4fa643e0) at ../src/txn/txn_ckpt.c:1014
      #10 0x00007f5f31bb433a in __txn_checkpoint_wrapper (session=0x7f5f320289c0, cfg=0x7fff4fa643e0) at ../src/txn/txn_ckpt.c:1076
      #11 0x00007f5f31bb44b4 in __wt_txn_checkpoint (session=0x7f5f320289c0, cfg=0x7fff4fa643e0, waiting=true) at ../src/txn/txn_ckpt.c:1133
      #12 0x00007f5f31b8d4a4 in __session_checkpoint (wt_session=0x7f5f320289c0, config=0x7f5f31c03a6a "force=1") at ../src/session/session_api.c:1979
      #13 0x00007f5f31bbd2c2 in __wt_txn_recover (session=0x7f5f320289c0) at ../src/txn/txn_recover.c:747
      #14 0x00007f5f31a90645 in __wt_connection_workers (session=0x7f5f32028010, cfg=0x7fff4fa64580) at ../src/conn/conn_open.c:211
      #15 0x00007f5f31a823de in wiredtiger_open (home=0x7fff4fa663ac "RESTART", event_handler=0x0,
          config=0x1433e70 "error_prefix=wt,,log=(archive=false,enabled,file_max=100K),transaction_sync=(enabled,method=none),,log=(recover=on)", connectionp=0x7fff4fa64768)
          at ../src/conn/conn_api.c:2673
      #16 0x0000000000409421 in main (argc=1, argv=0x7fff4fa648f8) at ../src/utilities/util_main.c:333
      

      This is reproducible in test_txn19.test_corrupt_meta.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              chenhao.qu Chenhao Qu
              Reporter:
              chenhao.qu Chenhao Qu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: