peterxcli commented on code in PR #8572:
URL: https://github.com/apache/ozone/pull/8572#discussion_r2144298388


##########
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/db/RocksDBConfiguration.java:
##########
@@ -84,6 +84,13 @@ public class RocksDBConfiguration {
           + "Default 0 means no limit.")
   private long walSizeLimit = 0;
 
+  @Config(key = "rocksdb.manual.compaction.max.sub.compactions",
+      type = ConfigType.INT,
+      defaultValue = "1",
+      tags = {OM},
+      description = "Maximum number of sub compactions to use when manual 
compacting. Default 1 means no limit.")
+  private int manualCompactionMaxSubCompactions = 1;

Review Comment:
   https://github.com/facebook/rocksdb/wiki/Subcompaction#options
   > The option 
[max_subcompactions](https://github.com/facebook/rocksdb/blob/15053f3ab47839bc14dc31a8a62df1d23f6babbe/include/rocksdb/options.h#L719-L725)
 limits the max number of subcompactions for each compaction. By default, 
max_subcompactions = 1, which means it is disabled.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to