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

WT_PREPARE_CONFLICT detected while retrieving random key/value pairs

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • 2
    • Storage Engines 2019-10-21

      A conflict with prepared update was captured by test/format on zSeries machine while checking cursor before retrieving some random key/value pairs.

      http://build.wiredtiger.com:8080/job/wiredtiger-test-format-stress-zseries/49957/

      t: FAILED: random_kv/73: cursor->next(cursor): WT_PREPARE_CONFLICT: conflict with a prepared update (...)Backtrace:
      /lib64/libc.so.6(gsignal+0x40)[0x3ffa2ec0a78]
      /lib64/libc.so.6(abort+0x128)[0x3ffa2ec2300]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/test/utility/../../../test/utility/misc.c:66(testutil_die)[0x8001a6e6]
      /mnt/workspace/wiredtiger-test-format-stress-zseries/build_posix/test/format/../../../test/format/random.c:74(random_kv)[0x80010126]
      /lib64/libpthread.so.0(+0x81f2)[0x3ffa32081f2]
      /lib64/libc.so.6(+0x1098da)[0x3ffa2f898da]

      The configuration: 

      ############################################
      #  RUN PARAMETERS
      ############################################
      abort=0
      alter=0
      assert_commit_timestamp=0
      assert_read_timestamp=0
      auto_throttle=1
      backups=0
      bitcnt=4
      bloom=1
      bloom_bit_count=59
      bloom_hash_count=27
      bloom_oldest=0
      cache=44
      cache_minimum=20
      checkpoints=wiredtiger
      checkpoint_log_size=190
      checkpoint_wait=32
      checksum=uncompressed
      chunk_size=4
      compaction=0
      compression=snappy
      data_extend=0
      data_source=table
      delete_pct=76
      dictionary=0
      direct_io=0
      encryption=rotn-7
      evict_max=2
      file_type=row-store
      firstfit=0
      huffman_key=0
      huffman_value=0
      independent_thread_rng=1
      in_memory=0
      insert_pct=5
      internal_key_truncation=1
      internal_page_max=12
      isolation=snapshot
      key_gap=14
      key_max=29
      key_min=13
      leaf_page_max=15
      leak_memory=0
      logging=0
      logging_archive=0
      logging_compression=none
      logging_file_max=68041
      logging_prealloc=1
      long_running_txn=0
      lsm_worker_threads=3
      memory_page_max=2
      merge_max=10
      mmap=1
      modify_pct=7
      ops=0
      prefix_compression=1
      prefix_compression_min=2
      prepare=1
      quiet=1
      random_cursor=1
      read_pct=6
      rebalance=1
      repeat_data_pct=76
      reverse=0
      rows=1000000
      runs=1
      salvage=1
      split_pct=53
      statistics=0
      statistics_server=0
      threads=6
      timer=4
      timing_stress_aggressive_sweep=0
      timing_stress_checkpoint=0
      timing_stress_lookaside_sweep=0
      timing_stress_split_1=0
      timing_stress_split_2=0
      timing_stress_split_3=0
      timing_stress_split_4=0
      timing_stress_split_5=0
      timing_stress_split_6=0
      timing_stress_split_7=0
      timing_stress_split_8=0
      transaction_timestamps=1
      transaction-frequency=100
      truncate=1
      value_max=1655
      value_min=17
      verify=1
      wiredtiger_config=
      write_pct=6
      ############################################ 

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            luke.chen@mongodb.com Luke Chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: