[
https://issues.apache.org/jira/browse/HDDS-16089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sammi Chen resolved HDDS-16089.
-------------------------------
Fix Version/s: 2.3.0
Resolution: Fixed
> Improve MPU table evaluation efficiency
> ----------------------------------------
>
> Key: HDDS-16089
> URL: https://issues.apache.org/jira/browse/HDDS-16089
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Sammi Chen
> Assignee: Priyesh Karatha
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.3.0
>
>
> For every MPU in the bucket, the code currently resolves the open key and
> does a table read before checking age or prefix. On buckets with many active
> MPUs, most iterations are wasted.
> Reorder to: parse key → check age → check prefix → load open key only if a
> candidate rule needs tags.
> And for Orphan MPU, those doesn't have open keys, it's still the target to
> removed. Currently it's skipped in this case.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]