[ 
https://issues.apache.org/jira/browse/HDDS-13114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HDDS-13114:
----------------------------------
    Labels: pull-request-available  (was: )

> 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: Chu Cheng Li
>            Assignee: Chu Cheng Li
>            Priority: Major
>              Labels: pull-request-available
>
> [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 config 
> keys.



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