Sammi Chen created HDDS-16089:
---------------------------------

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


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]

Reply via email to