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

generated test/format CONFIG invalid on next run

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.9.2, 3.2.13, 3.4.4, 3.5.6
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage 2017-03-27

      I was attempting to rerun a CONFIG file from a random run of test/format and it fails with:

      t: FAILED: long_running_txn not supported with fixed-length column store: Invalid argument
      

      The CONFIG file from my RUNDIR directory:

      ############################################
      #  RUN PARAMETERS
      ############################################
      abort=0
      alter=0
      auto_throttle=1
      backups=0
      bitcnt=1
      bloom=1
      bloom_bit_count=32
      bloom_hash_count=30
      bloom_oldest=1
      cache=25
      checkpoints=0
      checksum=uncompressed
      chunk_size=4
      compaction=0
      compression=zlib
      data_extend=1
      data_source=table
      delete_pct=76
      dictionary=0
      direct_io=0
      encryption=rotn-7
      evict_max=1
      file_type=fixed-length column-store
      firstfit=0
      huffman_key=1
      huffman_value=0
      in_memory=0
      insert_pct=3
      internal_key_truncation=1
      internal_page_max=12
      isolation=read-committed
      key_gap=4
      key_max=41
      key_min=15
      leaf_page_max=13
      leak_memory=0
      logging=1
      logging_archive=1
      logging_compression=none
      logging_prealloc=1
      long_running_txn=0
      lsm_worker_threads=4
      merge_max=17
      mmap=1
      ops=1869145
      prefix_compression=1
      prefix_compression_min=8
      quiet=1
      read_pct=12
      rebalance=1
      repeat_data_pct=52
      reverse=0
      rows=701559
      runs=1
      salvage=1
      split_pct=77
      statistics=1
      statistics_server=0
      threads=14
      timer=20
      transaction-frequency=33
      value_max=813
      value_min=18
      verify=1
      wiredtiger_config=
      write_pct=9
      ############################################
      

      Basically the code in config.c:config_lrt() checks if it is fixed-length and if long_running_txn is specified in the CONFIG file. It doesn't check what it was set to.

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: