Skip to content

Commit

Permalink
stress test: Disable hash speedb memtable and enable_speedb_features …
Browse files Browse the repository at this point in the history
…from testing until issues are solved.
  • Loading branch information
Yuval-Ariel committed Jan 1, 2024
1 parent 0329ade commit b082d02
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ RocksDB has a value of 10 by default and we've added the option to randomize the
* Remove leftover references to ROCKSDB_LITE (#755).
* Options: Set compaction_readahead_size default to 0. The current default of 2Mb is not optimal for most of our use cases. Having a value of 0 means that the FS will use its default size for prefetching (true only with https://github.com/speedb-io/speedb/pull/788).
* Options: Set level_compaction_dynamic_level_bytes as false by default. This flag is not working properly with Speedb. see https://github.com/speedb-io/speedb/issues/786 for more details.
* stress test: Disable hash speedb memtable and enable_speedb_features from testing until issues are solved.

## Hazlenut 2.7.0 (27/10/2023)
Based on RocksDB 8.1.1
Expand Down
7 changes: 5 additions & 2 deletions tools/db_crashtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,12 +247,15 @@
"sync_wal_one_in": 100000,
"customopspercent": 0,
# "filter_uri": lambda: random.choice(["speedb.PairedBloomFilter", ""]),
"memtablerep": lambda: random.choice(["skip_list", "hash_spdb"]),
# disable hash_spd until issues are fixed.
# "memtablerep": lambda: random.choice(["skip_list", "hash_spdb"]),
"memtablerep": "skip_list",
"pinning_policy": lambda: random.choice(["default", "scoped"]),
"use_dynamic_delay": lambda: random.choice([0, 1, 1, 1]),
"allow_wbm_stalls": lambda: random.randint(0, 1),
"start_delay_percent": lambda: random.randint(0, 99),
"enable_speedb_features": lambda: random.randint(0, 1),
# disable until hash_spd issues are fixed.
# "enable_speedb_features": lambda: random.randint(0, 1),
"total_ram_size": lambda: random.choice([512 * 1024 * 1024, 1024 * 1024 * 1024]),
"max_background_jobs": lambda: random.choice([4, 8]),
"crash_test": 1,
Expand Down

0 comments on commit b082d02

Please sign in to comment.