[ 
https://issues.apache.org/jira/browse/HDDS-15872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Devesh Kumar Singh updated HDDS-15872:
--------------------------------------
    Summary: Ozone Bucket Support StoragePolicy and allowFallbackStoragePolicy  
(was: Add bucket-level storagePolicy field on OmBucketInfo)

> Ozone Bucket Support StoragePolicy and allowFallbackStoragePolicy
> -----------------------------------------------------------------
>
>                 Key: HDDS-15872
>                 URL: https://issues.apache.org/jira/browse/HDDS-15872
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Devesh Kumar Singh
>            Assignee: Devesh Kumar Singh
>            Priority: Major
>
> Introduce a new optional storagePolicy field on OmBucketInfo and its 
> BucketInfo protobuf representation. Values come from OzoneStoragePolicy (HOT, 
> WARM, COLD). When set, this new field is the effective storage policy for the 
> bucket. When unset, the existing deprecated BucketInfo.storageType field 
> remains the source of truth for backward-compat, matching Ozone's convention 
> of keeping old deprecated fields intact until an explicit removal migration.
> The field must be gated by the STORAGE_POLICY OM layout feature so a 
> pre-upgrade OM cannot see or emit the field.
> {code:java}
> ozone sh bucket info 
> {code}
> output must show both the new storagePolicy (when set) and the old 
> storageType, with storagePolicy labeled as authoritative and storageType 
> labeled (legacy) when both are set.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to