Temporarily disable partitioned index/filter in stress test (#5811)

Summary:
PR https://github.com/facebook/rocksdb/issues/4020 enabled partitioned indexes/filters in stress tests; however,
this causes assertion failures in BatchedOpsStressTest. This patch
disables them until we can root cause the failures.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5811

Test Plan: Ran the script and made sure it only uses the binary search index.

Differential Revision: D17399366

Pulled By: ltamasi

fbshipit-source-id: adb116e6297f9c6ccd7ac15b6a16c9aa91f21ac5
main
Levi Tamasi 5 years ago committed by Facebook Github Bot
parent d3a6726f02
commit 94d62d771e
  1. 7
      tools/db_crashtest.py

@ -41,8 +41,8 @@ default_params = {
"enable_pipelined_write": 0, "enable_pipelined_write": 0,
"expected_values_path": expected_values_file.name, "expected_values_path": expected_values_file.name,
"flush_one_in": 1000000, "flush_one_in": 1000000,
# Temporarily disable hash index # Temporarily disable hash and partitioned index
"index_type": lambda: random.choice([0, 2]), "index_type": 0,
"max_background_compactions": 20, "max_background_compactions": 20,
"max_bytes_for_level_base": 10485760, "max_bytes_for_level_base": 10485760,
"max_key": 100000000, "max_key": 100000000,
@ -50,7 +50,8 @@ default_params = {
"mmap_read": lambda: random.randint(0, 1), "mmap_read": lambda: random.randint(0, 1),
"nooverwritepercent": 1, "nooverwritepercent": 1,
"open_files": lambda : random.choice([-1, 500000]), "open_files": lambda : random.choice([-1, 500000]),
"partition_filters": lambda: random.randint(0, 1), # Temporarily disable partitioned filter
"partition_filters": 0,
"prefixpercent": 5, "prefixpercent": 5,
"progress_reports": 0, "progress_reports": 0,
"readpercent": 45, "readpercent": 45,

Loading…
Cancel
Save