From 3cd78bce1ea540ec2dd5dded89d3722781d479f9 Mon Sep 17 00:00:00 2001 From: Levi Tamasi Date: Thu, 13 Oct 2022 18:00:30 -0700 Subject: [PATCH] Temporarily disable mixing batched and non-batched runs (#10821) Summary: We have recently made some stress test improvements that rely on decoding the "value base" from the values stored in the database. This logic does not currently support the case when some KVs are written by a non-batched ops run and some by a batched ops run. The patch temporarily disables mixing these two. Pull Request resolved: https://github.com/facebook/rocksdb/pull/10821 Reviewed By: riversand963 Differential Revision: D40367326 Pulled By: ltamasi fbshipit-source-id: 66f2e0cbc097ab6b1f9e4b39b833bd466f1aaab5 --- tools/db_crashtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/db_crashtest.py b/tools/db_crashtest.py index 96081229a..de35ada68 100644 --- a/tools/db_crashtest.py +++ b/tools/db_crashtest.py @@ -115,7 +115,7 @@ default_params = { "subcompactions": lambda: random.randint(1, 4), "target_file_size_base": 2097152, "target_file_size_multiplier": 2, - "test_batches_snapshots": lambda: random.randint(0, 1), + "test_batches_snapshots": random.randint(0, 1), "top_level_index_pinning": lambda: random.randint(0, 3), "unpartitioned_pinning": lambda: random.randint(0, 3), "use_direct_reads": lambda: random.randint(0, 1),