peterxcli opened a new pull request, #8572:
URL: https://github.com/apache/ozone/pull/8572

   ## What changes were proposed in this pull request?
   
   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 
`AbstractRDBStore`, `RDBStore`, `RDBStoreBuilder`. Also the corresponding 
rocksdb config keys.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-13114
   
   ## How was this patch tested?
   
   CI:
   https://github.com/peterxcli/ozone/actions/runs/15484301525


-- 
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