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
main
Levi Tamasi 2 years ago committed by Facebook GitHub Bot
parent eae3a686ee
commit 3cd78bce1e
  1. 2
      tools/db_crashtest.py

@ -115,7 +115,7 @@ default_params = {
"subcompactions": lambda: random.randint(1, 4), "subcompactions": lambda: random.randint(1, 4),
"target_file_size_base": 2097152, "target_file_size_base": 2097152,
"target_file_size_multiplier": 2, "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), "top_level_index_pinning": lambda: random.randint(0, 3),
"unpartitioned_pinning": lambda: random.randint(0, 3), "unpartitioned_pinning": lambda: random.randint(0, 3),
"use_direct_reads": lambda: random.randint(0, 1), "use_direct_reads": lambda: random.randint(0, 1),

Loading…
Cancel
Save