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

txn_release_snapshot assertion failure

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT1.6.5
    • Labels:

      Description

      While running the 'branch682' changes with wtperf with the evict-lsm configuration, it hit this assertion, about 290 iterations through that test:

      (gdb) bt
      #0  0x00007f4098eee7b3 in select () from /lib64/libc.so.6
      WT-1  0x0000000000416cf5 in __wt_sleep (seconds=100, micro_seconds=0)
          at ../src/os_posix/os_sleep.c:22
      WT-2  0x0000000000427159 in __wt_attach (session=0x1e78a50)
          at ../src/support/global.c:97
      WT-3  0x00000000004775de in __wt_abort (session=0x1e78a50)
          at ../src/os_posix/os_abort.c:21
      WT-4  0x0000000000426ba9 in __wt_assert (session=0x1e78a50, error=0, 
          file_name=0x4a9782 "../src/txn/txn.c", line_number=69, fmt=0x4a977f "%s")
          at ../src/support/err.c:408
      WT-5  0x000000000042b073 in __wt_txn_release_snapshot (session=0x1e78a50)
          at ../src/txn/txn.c:68
      WT-6  0x000000000042b853 in __wt_txn_release (session=0x1e78a50)
          at ../src/txn/txn.c:337
      WT-7  0x000000000042b99c in __wt_txn_commit (session=0x1e78a50, cfg=0x0)
          at ../src/txn/txn.c:375
      WT-8  0x000000000045e4ff in __curfile_insert (cursor=0x7f408c2991f0)
          at ../src/cursor/cur_file.c:241
      WT-9  0x00000000004128bb in __wt_metadata_update (session=0x1e78a50, 
          key=0x1e65fe0 "lsm:test", 
          value=0x7f408c1f8000 "key_format=S,value_format=S,bloom_config=(),file_config=(key_format=S,value_format=S,type=lsm,exclusive=true,leaf_page_max=4kb,internal_page_max=64kb,allocation_size=4kb,lsm_chunk_size=2MB,type=lsm,ke"...)
          at ../src/meta/meta_table.c:122
      WT-10 0x0000000000475982 in __wt_lsm_meta_write (session=0x1e78a50, 
          lsm_tree=0x1e66910) at ../src/lsm/lsm_meta.c:220
      WT-11 0x000000000040ffa0 in __wt_lsm_tree_switch (session=0x1e78a50, 
          lsm_tree=0x1e66910) at ../src/lsm/lsm_tree.c:654
      WT-12 0x00000000004110e2 in __wt_lsm_checkpoint_worker (arg=0x1e66910)
          at ../src/lsm/lsm_worker.c:234
      WT-13 0x00007f40995bcc6b in start_thread () from /lib64/libpthread.so.0
      WT-14 0x00007f4098ef55ed in clone () from /lib64/libc.so.6
       
      68		WT_ASSERT(session, txn_state->snap_min == WT_TXN_NONE ||
      69		    !__wt_txn_visible_all(session, txn_state->snap_min));
      
      

      From __wt_txn_visible_all:
       
              oldest_id = txn_global->oldest_id;
              return (TXNID_LT(id, oldest_id));
       
      (gdb) p *txn_state
      $1 = {id = 0, snap_min = 2071803}
      (gdb) p ((WT_CONNECTION_IMPL *)0x1e77240)->txn_global
      $3 = {current = 2079513, oldest_id = 2071807, scan_count = 0, 
        states = 0x1e80650}
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sue.loverso Sue LoVerso
                Reporter:
                sue.loverso Sue LoVerso
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: