From 1cdc84114fb0011f860f0b87fbabe1e2abb39596 Mon Sep 17 00:00:00 2001 From: Jay Zhuang Date: Thu, 15 Sep 2022 08:17:16 -0700 Subject: [PATCH] Tiered Storage feature doesn't support BlobDB yet (#10681) Summary: Disable the tiered storage + BlobDB test. Also enable different hot data setting for Tiered compaction Pull Request resolved: https://github.com/facebook/rocksdb/pull/10681 Reviewed By: ajkr Differential Revision: D39531941 Pulled By: jay-zhuang fbshipit-source-id: aa0595eb38d03f17638d300d2e4cc9061429bf61 --- tools/db_crashtest.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/db_crashtest.py b/tools/db_crashtest.py index 4d9ee74d48..798c75a048 100644 --- a/tools/db_crashtest.py +++ b/tools/db_crashtest.py @@ -378,10 +378,13 @@ ts_params = { tiered_params = { "enable_tiered_storage": 1, - "preclude_last_level_data_seconds": lambda: random.choice([3600]), + # Set tiered compaction hot data time as: 1 minute, 1 hour, 10 hour + "preclude_last_level_data_seconds": lambda: random.choice([60, 3600, 36000]), # only test universal compaction for now, level has known issue of # endless compaction "compaction_style": 1, + # tiered storage doesn't support blob db yet + "use_blob_db": 0, } multiops_txn_default_params = {