|
|
@ -2296,6 +2296,8 @@ void StressTest::PrintEnv() const { |
|
|
|
static_cast<int>(FLAGS_fail_if_options_file_error)); |
|
|
|
static_cast<int>(FLAGS_fail_if_options_file_error)); |
|
|
|
fprintf(stdout, "User timestamp size bytes : %d\n", |
|
|
|
fprintf(stdout, "User timestamp size bytes : %d\n", |
|
|
|
static_cast<int>(FLAGS_user_timestamp_size)); |
|
|
|
static_cast<int>(FLAGS_user_timestamp_size)); |
|
|
|
|
|
|
|
fprintf(stdout, "WAL compression : %s\n", |
|
|
|
|
|
|
|
FLAGS_wal_compression.c_str()); |
|
|
|
|
|
|
|
|
|
|
|
fprintf(stdout, "------------------------------------------------\n"); |
|
|
|
fprintf(stdout, "------------------------------------------------\n"); |
|
|
|
} |
|
|
|
} |
|
|
@ -2438,6 +2440,9 @@ void StressTest::Open() { |
|
|
|
FLAGS_blob_garbage_collection_force_threshold; |
|
|
|
FLAGS_blob_garbage_collection_force_threshold; |
|
|
|
options_.blob_compaction_readahead_size = |
|
|
|
options_.blob_compaction_readahead_size = |
|
|
|
FLAGS_blob_compaction_readahead_size; |
|
|
|
FLAGS_blob_compaction_readahead_size; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
options_.wal_compression = |
|
|
|
|
|
|
|
StringToCompressionType(FLAGS_wal_compression.c_str()); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
#ifdef ROCKSDB_LITE |
|
|
|
#ifdef ROCKSDB_LITE |
|
|
|
fprintf(stderr, "--options_file not supported in lite mode\n"); |
|
|
|
fprintf(stderr, "--options_file not supported in lite mode\n"); |
|
|
|