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

   ## What changes were proposed in this pull request?
   
   Link buckets created with `ozone sh bucket link` store link metadata 
(sourceVolume, sourceBucket) plus placeholder operational fields (layout, 
replication, quotas, etc.). `getBucketInfo` already resolved source properties 
server-side (since 
[HDDS-9117](https://issues.apache.org/jira/browse/HDDS-9117)), but 
`listBuckets` returned raw DB rows. UIs and clients that use operational fields 
off of the list buckets response show incorrect layout/replication for links 
(e.g. cluster default FSO instead of source OBS).
   
   This change applies the same server-side link resolution to `listBuckets` by 
extracting shared enrichment logic used by both `getBucketInfo` and 
`listBuckets`.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-15624
   
   ## How was this patch tested?
   
   Unit Tests.
   


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