SaketaChalamchala opened a new pull request, #10553: URL: https://github.com/apache/ozone/pull/10553
## What changes were proposed in this pull request? Link buckets created with `ozone sh bucket link` store symlink metadata (sourceVolume, sourceBucket) plus placeholder operational fields (layout, replication, quotas, etc.). Operational getters on the client such as `getBucketLayout()` and `getReplicationConfig()` were returning those stored defaults instead of the source bucket’s values. This change resolves source properties lazily — only when an operational getter is first called — so `getBucket()` / `listBuckets()` stay cheap and do not trigger extra RPCs per link bucket. On the server, OzoneManager.getBucketInfo() does not change it still returns the raw OM DB row for link buckets. Internal OM operations that need source properties continue to use `OzoneManagerUtils.getResolvedBucketInfo()`. ## 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]
