aryangupta1998 opened a new pull request, #10894:
URL: https://github.com/apache/ozone/pull/10894

   ## What changes were proposed in this pull request?
   
   -> 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.
   **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.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-16015
   
   ## How was this patch tested?
   
   -> 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 is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to