db_test_util: add recycle_log_files to set of tested options
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
3ac13c99d1
commit
7188052107
@ -343,6 +343,10 @@ Options DBTestBase::CurrentOptions(
|
|||||||
options.row_cache = NewLRUCache(1024 * 1024);
|
options.row_cache = NewLRUCache(1024 * 1024);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case kRecycleLogFiles: {
|
||||||
|
options.recycle_log_file_num = 2;
|
||||||
|
break;
|
||||||
|
}
|
||||||
case kLevelSubcompactions: {
|
case kLevelSubcompactions: {
|
||||||
options.max_subcompactions = 4;
|
options.max_subcompactions = 4;
|
||||||
break;
|
break;
|
||||||
|
@ -437,9 +437,10 @@ class DBTestBase : public testing::Test {
|
|||||||
kFIFOCompaction = 26,
|
kFIFOCompaction = 26,
|
||||||
kOptimizeFiltersForHits = 27,
|
kOptimizeFiltersForHits = 27,
|
||||||
kRowCache = 28,
|
kRowCache = 28,
|
||||||
kLevelSubcompactions = 29,
|
kRecycleLogFiles = 29,
|
||||||
kUniversalSubcompactions = 30,
|
kLevelSubcompactions = 30,
|
||||||
kEnd = 29
|
kUniversalSubcompactions = 31,
|
||||||
|
kEnd = 30
|
||||||
};
|
};
|
||||||
int option_config_;
|
int option_config_;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user