You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Devesh Kumar Singh (Jira)" <ji...@apache.org> on 2026/07/16 06:08:00 UTC

[jira] [Created] (HDDS-15881) Add bucket-level storagePolicy field on OmBucketInfo

Devesh Kumar Singh created HDDS-15881:
-----------------------------------------

             Summary: Add bucket-level storagePolicy field on OmBucketInfo
                 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


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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org