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

Hang related to logging code

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.7.0
    • Component/s: None
    • Labels:
      None

      Description

      Test/format is hanging, with most threads spinning on {{

      {log_slot_join}

      }}. The hang is reproducible. Config file:

      ############################################
      # RUN PARAMETERS
      ############################################
      abort=0
      auto_throttle=0
      firstfit=0
      bitcnt=7
      bloom=1
      bloom_bit_count=23
      bloom_hash_count=6
      bloom_oldest=0
      cache=180
      checkpoints=1
      checksum=uncompressed
      chunk_size=6
      compaction=0
      compression=zlib
      data_extend=0
      data_source=lsm
      delete_pct=19
      dictionary=1
      encryption=none
      evict_max=3
      file_type=row-store
      backups=0
      huffman_key=0
      huffman_value=0
      insert_pct=68
      internal_key_truncation=1
      internal_page_max=14
      isolation=random
      key_gap=7
      key_max=125
      key_min=17
      leak_memory=0
      leaf_page_max=16
      logging=1
      logging_compression=snappy
      logging_archive=0
      logging_prealloc=0
      long_running_txn=0
      lsm_worker_threads=4
      merge_max=13
      mmap=1
      ops=100000
      prefix_compression=1
      prefix_compression_min=8
      repeat_data_pct=1
      reverse=1
      rows=100000
      runs=100
      salvage=1
      split_pct=45
      statistics=1
      statistics_server=0
      threads=7
      timer=20
      value_max=2394
      value_min=15
      verify=1
      wiredtiger_config=
      write_pct=72
      ############################################
      

      An example set of call stacks:

      $ pmp `pidof t`
            6 __sched_yield,__wt_yield,__wt_log_slot_join,__log_write_internal,__wt_log_write,__wt_txn_log_commit,__wt_txn_commit,__clsm_insert,row_insert,ops,start_thread
            6 __pthread_cond_timedwait,__wt_cond_wait
            1 __select_nocancel,__lsm_manager_run_server,__lsm_worker_manager,start_thread
            1 __sched_yield,__wt_yield,__wt_log_slot_join,__log_write_internal,__wt_log_write,__wt_txn_log_commit,__wt_txn_commit,__curfile_insert,__wt_metadata_update,__wt_lsm_meta_write,__wt_lsm_tree_switch,__wt_lsm_work_switch,__lsm_worker,start_thread
            1 __sched_yield,__wt_yield,__wt_log_slot_join,__log_write_internal,__wt_log_write,__txn_log_file_sync,__wt_txn_checkpoint_log,__checkpoint_worker,__wt_checkpoint_close,__wt_conn_btree_sync_and_close,__wt_session_release_btree,__curfile_close,__wt_lsm_merge,__lsm_worker,start_thread
            1 __sched_yield,__wt_yield,__log_force_write_internal,__log_direct_write,__log_write_internal,__wt_log_write,__wt_txn_log_commit,__wt_txn_commit,__clsm_update,row_update,ops,start_thread
            1 __nanosleep_nocancel,wts_ops,main
            1 __lll_lock_wait,start_thread
            1
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sue.loverso Susan LoVerso
                Reporter:
                alexander.gorrod Alexander Gorrod
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: