Peter Lee created HDDS-13114:
--------------------------------

             Summary: MaxCompactionBytes and MaxSubCompactions should be 
configureable in RDBStore#compactTable
                 Key: HDDS-13114
                 URL: https://issues.apache.org/jira/browse/HDDS-13114
             Project: Apache Ozone
          Issue Type: Improvement
            Reporter: Peter Lee
            Assignee: Peter Lee


[https://github.com/apache/ozone/pull/8141#discussion_r2093792426]

 

In https://github.com/apache/ozone/pull/8141 RDBStore#compactTable was 
introduced. 

We should set options.setMaxCompactionBytes() when we open the snapshot rocksdb 
this could be useful so that we ensure one sub compaction doesn't take up a lot 
of memory. Also look into making 
ManagedCompactRangeOptions.setMaxSubCompactions() configurable so that we don't 
use a lot of CPU for this operation. It is ok if the compactions take time.

 

This can be achieved by adding ManagedRangeCompactionOption into RDBStore and 
its builder



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to