[
https://issues.apache.org/jira/browse/HDDS-16015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-16015:
----------------------------------
Labels: pull-request-available (was: )
> Make listStatusLight skip SCM pipeline refresh
> ----------------------------------------------
>
> Key: HDDS-16015
> URL: https://issues.apache.org/jira/browse/HDDS-16015
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Aryan Gupta
> Assignee: Aryan Gupta
> Priority: Major
> Labels: pull-request-available
>
> * Updated the OM light listing path so {{listStatusLight()}} no longer
> triggers SCM-backed pipeline refresh.
> * Added a {{refreshPipelineInfo}} switch in
> {{KeyManagerImpl.listStatus(...)}} so normal listings keep existing behavior
> while light listings stay metadata-only.
> * Wired {{OmMetadataReader}} and {{OmSnapshot}} to use the light path
> consistently, and added a unit test to verify no pipeline refresh call is
> made.
> h2. Why
> * {{ozone fs -du}} and other light listing flows only need metadata and size
> information.
> * Skipping pipeline refresh reduces unnecessary SCM traffic and lowers
> latency for light read paths.
> * Normal {{listStatus()}} behavior remains unchanged.
> h2. Test plan
> * Added a unit test in {{TestKeyManagerUnit}} that calls
> {{listStatusLight()}} and verifies SCM container pipeline lookup is not
> invoked.
> * Existing {{listStatus()}} behavior remains covered by the current unit
> test.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]