提交 967a2d95 编写于 作者: M Maysam Yabandeh 提交者: Facebook Github Bot

Revert "crash_test to enable block-based table hash index (#6310)" (#6327)

Summary:
This reverts commit 8e309b35.
The stress tests are failing . Revert it until we figure the root cause.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6327

Differential Revision: D19537657

Pulled By: maysamyabandeh

fbshipit-source-id: bf34a5dd720825957729e136e9a5a729a240e61a
上级 cb1142e0
......@@ -52,7 +52,8 @@ default_params = {
"expected_values_path": expected_values_file.name,
"flush_one_in": 1000000,
"get_live_files_and_wal_files_one_in": 1000000,
"index_type": lambda: random.choice([0, 0, 1, 2, 2]),
# Temporarily disable hash index
"index_type": lambda: random.choice([0,2]),
"max_background_compactions": 20,
"max_bytes_for_level_base": 10485760,
"max_key": 100000000,
......@@ -235,12 +236,6 @@ def finalize_and_sanitize(src_params):
dest_params["partition_filters"] = 0
else:
dest_params["use_block_based_filter"] = 0
if dest_params["index_type"] == 1 and \
dest_params.get("prefix_size", 7) == -1:
dest_params["index_type"] = 0
# kHashSearch is incompatible with index_block_restart_interval > 1
if dest_params["index_type"] == 1:
dest_params["index_block_restart_interval"] = 1;
if dest_params.get("atomic_flush", 0) == 1:
# disable pipelined write when atomic flush is used.
dest_params["enable_pipelined_write"] = 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册