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

test/format can set in_memory at the same time as random aborts

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Test Format
    • 3
    • StorEng - Defined Pipeline

      test/format does not allow to re-open an in-memory database:

          /* Create and open, or reopen the database. */
          if (g.reopen) {
              if (GV(RUNS_IN_MEMORY))
                  testutil_die(0, "reopen impossible after in-memory run");
      

      However, it is possible to start test/format with the configuration below which has both enabled. For a better use experience, test/format should not start at all.

      ############################################
      #  RUN PARAMETERS: V3
      ############################################
      assert.read_timestamp=0
      background_compact=0
      background_compact.free_space_target=1
      backup=0
      backup.incremental=off
      backup.incr_granularity=6474
      block_cache=0
      block_cache.cache_on_checkpoint=0
      block_cache.cache_on_writes=1
      block_cache.size=24
      btree.huffman_value=0
      buffer_alignment=0
      cache=1647
      cache.evict_max=4
      cache.eviction_dirty_target=0
      cache.eviction_dirty_trigger=0
      cache.minimum=20
      checkpoint=off
      checkpoint.log_size=81
      checkpoint.wait=35
      compact.free_space_target=42
      debug.checkpoint_retention=1
      debug.cursor_reposition=0
      debug.eviction=0
      debug.log_retention=1
      debug.realloc_exact=0
      debug.realloc_malloc=0
      debug.slow_checkpoint=0
      debug.table_logging=0
      debug.update_restore_evict=0
      disk.data_extend=0
      disk.direct_io=0
      disk.encryption=none
      disk.mmap=1
      disk.mmap_all=0
      file_manager.close_handle_minimum=13
      file_manager.close_idle_time=40
      file_manager.close_scan_interval=6
      format.abort=1
      format.independent_thread_rng=0
      format.major_timeout=0
      import=0
      logging=0
      logging.compression=none
      logging.file_max=498350
      logging.prealloc=1
      logging.remove=0
      ops.alter=0
      ops.compaction=0
      ops.hs_cursor=0
      ops.bound_cursor=0
      ops.prepare=0
      ops.random_cursor=0
      ops.salvage=0
      ops.verify=0
      quiet=1
      random.data_seed=7177734
      random.extra_seed=5991814
      runs.in_memory=1
      runs.ops=0
      runs.predictable_replay=0
      runs.rows=4200000
      runs.tables=3
      runs.threads=10
      runs.timer=6
      runs.verify_failure_dump=0
      statistics.mode=fast
      statistics_log.sources=off
      stress.aggressive_stash_free=0
      stress.aggressive_sweep=0
      stress.checkpoint=0
      stress.checkpoint_evict_page=0
      stress.checkpoint_prepare=0
      stress.evict_reposition=0
      stress.failpoint_eviction_split=1
      stress.failpoint_hs_delete_key_from_ts=0
      stress.hs_checkpoint_delay=0
      stress.hs_search=0
      stress.hs_sweep=0
      stress.prepare_resolution_1=0
      stress.sleep_before_read_overflow_onpage=0
      stress.split_1=0
      stress.split_2=0
      stress.split_3=0
      stress.split_4=0
      stress.split_5=0
      stress.split_6=0
      stress.split_7=0
      stress.split_8=0
      tiered_storage.flush_frequency=0
      tiered_storage.storage_source=off
      transaction.implicit=0
      transaction.operation_timeout_ms=2000
      transaction.timestamps=1
      wiredtiger.config=off
      wiredtiger.rwlock=1
      wiredtiger.leak_memory=0
      ############################################
      #  TABLE PARAMETERS: table 1
      ############################################
      table1.btree.compression=none
      table1.btree.dictionary=0
      table1.btree.internal_key_truncation=1
      table1.btree.internal_page_max=10
      table1.btree.leaf_page_max=13
      table1.btree.memory_page_max=8
      table1.btree.repeat_data_pct=39
      table1.btree.split_pct=84
      table1.btree.value_max=80
      table1.btree.value_min=20
      table1.disk.checksum=unencrypted
      table1.disk.firstfit=0
      table1.ops.pareto=1
      table1.ops.pareto.skew=85
      table1.ops.pct.delete=26
      table1.ops.pct.insert=51
      table1.ops.pct.modify=3
      table1.ops.pct.read=4
      table1.ops.pct.write=16
      table1.ops.truncate=1
      table1.runs.mirror=0
      table1.runs.rows=1000000
      table1.runs.source=table
      table1.runs.type=variable-length column-store
      ############################################
      #  TABLE PARAMETERS: table 2
      ############################################
      table2.btree.compression=zstd
      table2.btree.dictionary=0
      table2.btree.internal_key_truncation=1
      table2.btree.internal_page_max=15
      table2.btree.key_max=32
      table2.btree.key_min=15
      table2.btree.leaf_page_max=10
      table2.btree.memory_page_max=5
      table2.btree.prefix_len=0
      table2.btree.prefix_compression=1
      table2.btree.prefix_compression_min=5
      table2.btree.reverse=1
      table2.btree.split_pct=75
      table2.btree.value_max=80
      table2.btree.value_min=20
      table2.disk.checksum=unencrypted
      table2.disk.firstfit=0
      table2.ops.pareto=0
      table2.ops.pareto.skew=20
      table2.ops.pct.delete=0
      table2.ops.pct.insert=64
      table2.ops.pct.modify=25
      table2.ops.pct.read=0
      table2.ops.pct.write=11
      table2.ops.truncate=1
      table2.runs.mirror=0
      table2.runs.rows=1000000
      table2.runs.source=file
      table2.runs.type=row-store
      ############################################
      #  TABLE PARAMETERS: table 3
      ############################################
      table3.btree.compression=none
      table3.btree.dictionary=0
      table3.btree.internal_key_truncation=1
      table3.btree.internal_page_max=10
      table3.btree.leaf_page_max=12
      table3.btree.memory_page_max=8
      table3.btree.repeat_data_pct=75
      table3.btree.split_pct=87
      table3.btree.value_max=80
      table3.btree.value_min=20
      table3.disk.checksum=on
      table3.disk.firstfit=0
      table3.ops.pareto=0
      table3.ops.pareto.skew=97
      table3.ops.pct.delete=1
      table3.ops.pct.insert=39
      table3.ops.pct.modify=12
      table3.ops.pct.read=18
      table3.ops.pct.write=30
      table3.ops.truncate=1
      table3.runs.mirror=0
      table3.runs.rows=1000000
      table3.runs.source=table
      table3.runs.type=variable-length column-store
      ########################################
      

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: