@ -856,6 +856,8 @@ TEST_P(DBCompactionTestWithParam, LevelCompactionThirdPath) {
options . db_paths . emplace_back ( dbname_ , 500 * 1024 ) ;
options . db_paths . emplace_back ( dbname_ , 500 * 1024 ) ;
options . db_paths . emplace_back ( dbname_ + " _2 " , 4 * 1024 * 1024 ) ;
options . db_paths . emplace_back ( dbname_ + " _2 " , 4 * 1024 * 1024 ) ;
options . db_paths . emplace_back ( dbname_ + " _3 " , 1024 * 1024 * 1024 ) ;
options . db_paths . emplace_back ( dbname_ + " _3 " , 1024 * 1024 * 1024 ) ;
options . memtable_factory . reset (
new SpecialSkipListFactory ( KNumKeysByGenerateNewFile - 1 ) ) ;
options . compaction_style = kCompactionStyleLevel ;
options . compaction_style = kCompactionStyleLevel ;
options . write_buffer_size = 110 < < 10 ; // 110KB
options . write_buffer_size = 110 < < 10 ; // 110KB
options . arena_block_size = 4 < < 10 ;
options . arena_block_size = 4 < < 10 ;
@ -971,6 +973,8 @@ TEST_P(DBCompactionTestWithParam, LevelCompactionPathUse) {
options . db_paths . emplace_back ( dbname_ , 500 * 1024 ) ;
options . db_paths . emplace_back ( dbname_ , 500 * 1024 ) ;
options . db_paths . emplace_back ( dbname_ + " _2 " , 4 * 1024 * 1024 ) ;
options . db_paths . emplace_back ( dbname_ + " _2 " , 4 * 1024 * 1024 ) ;
options . db_paths . emplace_back ( dbname_ + " _3 " , 1024 * 1024 * 1024 ) ;
options . db_paths . emplace_back ( dbname_ + " _3 " , 1024 * 1024 * 1024 ) ;
options . memtable_factory . reset (
new SpecialSkipListFactory ( KNumKeysByGenerateNewFile - 1 ) ) ;
options . compaction_style = kCompactionStyleLevel ;
options . compaction_style = kCompactionStyleLevel ;
options . write_buffer_size = 110 < < 10 ; // 110KB
options . write_buffer_size = 110 < < 10 ; // 110KB
options . arena_block_size = 4 < < 10 ;
options . arena_block_size = 4 < < 10 ;
@ -1611,6 +1615,8 @@ TEST_P(DBCompactionTestWithParam, CompressLevelCompaction) {
return ;
return ;
}
}
Options options = CurrentOptions ( ) ;
Options options = CurrentOptions ( ) ;
options . memtable_factory . reset (
new SpecialSkipListFactory ( KNumKeysByGenerateNewFile - 1 ) ) ;
options . compaction_style = kCompactionStyleLevel ;
options . compaction_style = kCompactionStyleLevel ;
options . write_buffer_size = 110 < < 10 ; // 110KB
options . write_buffer_size = 110 < < 10 ; // 110KB
options . arena_block_size = 4 < < 10 ;
options . arena_block_size = 4 < < 10 ;