[
https://issues.apache.org/jira/browse/HDDS-15882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anurag Parvatikar resolved HDDS-15882.
--------------------------------------
Resolution: Duplicate
This ticket is duplicated by HDDS-16038 , hence resolving it as duplicate.
> Allow per-key storagePolicy override on write
> ---------------------------------------------
>
> Key: HDDS-15882
> URL: https://issues.apache.org/jira/browse/HDDS-15882
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Devesh Kumar Singh
> Assignee: Devesh Kumar Singh
> Priority: Major
>
> Some workloads want to write specific keys to a tier different from the
> bucket's default (e.g. a snapshot key inside a HOT bucket that should be
> stored on COLD). Add an optional storagePolicy field on KeyArgs
> (OmClientProtocol.proto). When set on CreateKey / AllocateBlock, the key
> overrides the bucket's policy for its own blocks. When unset, the bucket's
> policy applies.
> OMAllocateBlockRequest.preExecute computes the effective policy in the order
> key > bucket > global default, resolves it to a StorageTier, and forwards
> that tier into the SCM AllocateScmBlockRequest.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]