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


##########
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/db/RDBStore.java:
##########
@@ -222,6 +222,22 @@ public void compactDB() throws IOException {
     }
   }
 
+  @Override
+  public void compactTable(String tableName) throws IOException {
+    try (ManagedCompactRangeOptions options = new 
ManagedCompactRangeOptions()) {
+      compactTable(tableName, options);

Review Comment:
   > Consider ManagedCompactRangeOptions.setExclusiveManualCompaction(true)
   > 
   > https://github.com/facebook/rocksdb/wiki/Manual-Compaction
   
   This seems default to true.
   https://github.com/facebook/rocksdb/wiki/Manual-Compaction#compactrange
   >CompactRangeOptions::exclusive_manual_compaction When set to true, no other 
compaction will run when this manual compaction is running. **Default value is 
true**



-- 
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: issues-unsubscr...@ozone.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to