@@ -61,6 +61,13 @@ public class RocksDBManualCompaction extends RepairTool {
6161 @ CommandLine .ArgGroup (multiplicity = "1" )
6262 private ColumnFamilyOption columnFamilyOption ;
6363
64+ @ CommandLine .Option (names = {"--bottommost-level-compaction" , "--blc" },
65+ description = "BottommostLevelCompaction option for RocksDB compaction." +
66+ " Valid values: 0 (kSkip), 1 (kIfHaveCompactionFilter), 2 (kForce), 3 (kForceOptimized)." ,
67+ defaultValue = "0" ,
68+ showDefaultValue = CommandLine .Help .Visibility .ALWAYS )
69+ private int bottommostLevelCompaction ;
70+
6471 static class ColumnFamilyOption {
6572 @ CommandLine .Option (names = {"--column-family" , "--cf" },
6673 description = "Column family name" )
@@ -77,13 +84,6 @@ String getColumnFamilyName() {
7784 }
7885 }
7986
80- @ CommandLine .Option (names = {"--bottommost-level-compaction" , "--blc" },
81- description = "BottommostLevelCompaction option for RocksDB compaction." +
82- " Valid values: 0 (kSkip), 1 (kIfHaveCompactionFilter), 2 (kForce), 3 (kForceOptimized)." ,
83- defaultValue = "0" ,
84- showDefaultValue = CommandLine .Help .Visibility .ALWAYS )
85- private int bottommostLevelCompaction ;
86-
8787 private String getConsoleReadLineWithFormat () {
8888 err ().printf (WARNING_TO_STOP_SERVICE );
8989 return getScanner ().nextLine ().trim ();
0 commit comments