Enable auto_readahead_size in db_stress (#11916)

Summary:
Depends on https://github.com/facebook/rocksdb/pull/11884
This PR only enables the option in db_stress.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/11916

Reviewed By: anand1976

Differential Revision: D49834479

Pulled By: akankshamahajan15

fbshipit-source-id: 103a64fd7b23236493a8f3064d4c5af83656bd18
This commit is contained in:
akankshamahajan 2023-10-03 14:41:26 -07:00 committed by Facebook GitHub Bot
parent c13569e41d
commit 40b618f234
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ default_params = {
"memtable_max_range_deletions": lambda: random.choice([0] * 6 + [100, 1000]),
# 0 (disable) is the default and more commonly used value.
"bottommost_file_compaction_delay": lambda: random.choice([0, 0, 0, 600, 3600, 86400]),
"auto_readahead_size" : 0,
"auto_readahead_size" : lambda: random.choice([0, 1]),
}
_TEST_DIR_ENV_VAR = "TEST_TMPDIR"