mirror of https://github.com/facebook/rocksdb.git
Enable parallel compression in crash test (#12506)
Summary: Since some internal user might be interested in using this feature. Pull Request resolved: https://github.com/facebook/rocksdb/pull/12506 Test Plan: The option was disabled in stress test due to causing failures. I've ran a round of crash tests internally and there was no failure due to parallel compression. Will monitor if more runs cause failures. So we will know at least how it's broken and decide to fix them or reverse the change. Reviewed By: jowlyzhang Differential Revision: D55747552 Pulled By: cbi42 fbshipit-source-id: ae5cda78c338b8b58f651c557d9b70790362444d
This commit is contained in:
parent
abdbeedba6
commit
7c28dc8beb
|
@ -60,9 +60,7 @@ default_params = {
|
|||
),
|
||||
"compression_max_dict_bytes": lambda: 16384 * random.randint(0, 1),
|
||||
"compression_zstd_max_train_bytes": lambda: 65536 * random.randint(0, 1),
|
||||
# Disabled compression_parallel_threads as the feature is not stable
|
||||
# lambda: random.choice([1] * 9 + [4])
|
||||
"compression_parallel_threads": 1,
|
||||
"compression_parallel_threads": lambda: random.choice([1] * 3 + [4, 8, 16]),
|
||||
"compression_max_dict_buffer_bytes": lambda: (1 << random.randint(0, 40)) - 1,
|
||||
"compression_use_zstd_dict_trainer": lambda: random.randint(0, 1),
|
||||
"compression_checksum": lambda: random.randint(0, 1),
|
||||
|
|
Loading…
Reference in New Issue