[
https://issues.apache.org/jira/browse/HDDS-16748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-16748:
----------------------------------
Labels: pull-request-available (was: )
> Avoid repeated delimiter searches in S3 object listings
> -------------------------------------------------------
>
> Key: HDDS-16748
> URL: https://issues.apache.org/jira/browse/HDDS-16748
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Huang Kuan Hao
> Assignee: Huang Kuan Hao
> Priority: Major
> Labels: pull-request-available
>
> BucketEndpoint counts all delimiter occurrences in each relative key name
> only to check whether a delimiter exists, then searches again for its first
> position when building CommonPrefixes.
> Compute the first delimiter position once and reuse it in ListObjects and
> ListObjectsV2, preserving listing results, pagination, encoding and
> permission checks. Before/after endpoint tests produced identical responses
> across 896 configurations. This is a CPU optimization; the RPC count remains
> unchanged.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]