mirror of https://github.com/facebook/rocksdb.git
db_bench fillXXXdeterministic should respect compression type
Summary: db_bench fillXXXdeterministic should respect compression type when calling CompactFiles(). Closes https://github.com/facebook/rocksdb/pull/3731 Differential Revision: D7647761 Pulled By: yiwu-arbug fbshipit-source-id: 15e12429e0dd93ece2231b015f2e26c2d94781e6
This commit is contained in:
parent
b4f333922a
commit
2c2f388897
|
@ -3785,6 +3785,7 @@ void VerifyDBFromDB(std::string& truth_db_name) {
|
|||
for (size_t i = 0; i < num_db; i++) {
|
||||
auto db = db_list[i];
|
||||
auto compactionOptions = CompactionOptions();
|
||||
compactionOptions.compression = FLAGS_compression_type_e;
|
||||
auto options = db->GetOptions();
|
||||
MutableCFOptions mutable_cf_options(options);
|
||||
for (size_t j = 0; j < sorted_runs[i].size(); j++) {
|
||||
|
@ -3836,6 +3837,7 @@ void VerifyDBFromDB(std::string& truth_db_name) {
|
|||
for (size_t i = 0; i < num_db; i++) {
|
||||
auto db = db_list[i];
|
||||
auto compactionOptions = CompactionOptions();
|
||||
compactionOptions.compression = FLAGS_compression_type_e;
|
||||
auto options = db->GetOptions();
|
||||
MutableCFOptions mutable_cf_options(options);
|
||||
for (size_t j = 0; j < sorted_runs[i].size(); j++) {
|
||||
|
|
Loading…
Reference in New Issue