From 563f5743722e3e6f838ec0fc183d78df94b85986 Mon Sep 17 00:00:00 2001 From: Akanksha Mahajan Date: Mon, 8 Aug 2022 13:11:11 -0700 Subject: [PATCH] Disable subcompactions for user_defined_timestamp (#10503) Summary: Currently user_defined_timestamp is failing in stress test with subcompactions. So disabling it for now and will re enable it once its fixed. Pull Request resolved: https://github.com/facebook/rocksdb/pull/10503 Test Plan: make crash_test_with_ts -j32 Reviewed By: riversand963 Differential Revision: D38510485 Pulled By: akankshamahajan15 fbshipit-source-id: 82fd0ec8cf86a96ff6653edd5bad7623cb9e0a15 --- tools/db_crashtest.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/db_crashtest.py b/tools/db_crashtest.py index 3219c5241..6352f8ec9 100644 --- a/tools/db_crashtest.py +++ b/tools/db_crashtest.py @@ -364,6 +364,12 @@ ts_params = { "enable_blob_files": 0, "use_blob_db": 0, "ingest_external_file_one_in": 0, + # TODO akanksha: Currently subcompactions is failing with user_defined_timestamp if + # subcompactions > 1, or + # compact_pri == 4 even if subcompactions is 1, there can still be multiple subcompactions. + # Remove this check once its fixed. + "subcompactions": 1, + "compaction_pri": random.randint(0, 3), } tiered_params = {