[
https://issues.apache.org/jira/browse/HDDS-15881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Devesh Kumar Singh updated HDDS-15881:
--------------------------------------
Summary: Support setting storagePolicy via SetBucketProperty (was: Add
bucket-level storagePolicy field on OmBucketInfo)
> Support setting storagePolicy via SetBucketProperty
> ---------------------------------------------------
>
> Key: HDDS-15881
> URL: https://issues.apache.org/jira/browse/HDDS-15881
> 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.
> ozone sh bucket info 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]