Temporarily disable hash index in stress tests (#5792)

Summary:
PR https://github.com/facebook/rocksdb/issues/4020 implicitly enabled the hash index as well in stress/crash
tests, resulting in assertion failures in Block. This patch disables
the hash index until we can pinpoint the root cause of these issues.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5792

Test Plan:
Ran tools/db_crashtest.py and made sure it only uses index types 0 and 2
(binary search and partitioned index).

Differential Revision: D17346777

Pulled By: ltamasi

fbshipit-source-id: b4318f37f1fda3ee1bbff4ef2c2f556ca9e6b551
This commit is contained in:
Levi Tamasi 2019-09-12 12:10:05 -07:00 committed by Facebook Github Bot
parent e8c2e68b4e
commit d35ffd569c

View File

@ -41,7 +41,8 @@ default_params = {
"enable_pipelined_write": 0,
"expected_values_path": expected_values_file.name,
"flush_one_in": 1000000,
"index_type": lambda: random.randint(0, 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,