From d72e60397f492a5dca1822f5313d75eb8c8b46ba Mon Sep 17 00:00:00 2001 From: Hui Xiao Date: Tue, 23 Apr 2024 15:06:56 -0700 Subject: [PATCH] Enable block_align in crash test (#12560) Summary: **Context/Summary:** After https://github.com/facebook/rocksdb/pull/12542 there should be no blocker to re-enable block_align in crash test Pull Request resolved: https://github.com/facebook/rocksdb/pull/12560 Test Plan: CI Reviewed By: jowlyzhang Differential Revision: D56479173 Pulled By: hx235 fbshipit-source-id: 7c0bf327da0bd619deb89ab706e6ccd24e5b9543 --- tools/db_crashtest.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/db_crashtest.py b/tools/db_crashtest.py index 36beea2039..1b15e0230b 100644 --- a/tools/db_crashtest.py +++ b/tools/db_crashtest.py @@ -285,8 +285,7 @@ default_params = { "hard_pending_compaction_bytes_limit" : lambda: random.choice([2 * 1024 * 1024] + [256 * 1073741824] * 4), "enable_sst_partitioner_factory": lambda: random.choice([0, 1]), "enable_do_not_compress_roles": lambda: random.choice([0, 1]), - # TODO(hx235): enable `block_align` after fixing the surfaced corruption issue - "block_align": 0, + "block_align": lambda: random.choice([0, 1]), "lowest_used_cache_tier": lambda: random.choice([0, 1, 2]), "enable_custom_split_merge": lambda: random.choice([0, 1]), "adm_policy": lambda: random.choice([0, 1, 2, 3]),