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

ASF GitHub Bot updated HDDS-18011:
----------------------------------
    Labels: pull-request-available  (was: )

> Restore untyped OM–SCM block allocation and define the storage-policy flag
> --------------------------------------------------------------------------
>
>                 Key: HDDS-18011
>                 URL: https://issues.apache.org/jira/browse/HDDS-18011
>             Project: Apache Ozone
>          Issue Type: Task
>            Reporter: Devesh Kumar Singh
>            Assignee: Devesh Kumar Singh
>            Priority: Major
>              Labels: pull-request-available
>
> Define the shared startup key *ozone.storage.policy.enabled* with default 
> false. Restore the six-argument 
> {code:java}
> ScmBlockLocationProtocol.allocateBlock
> {code}
>  alongside the typed overload. Share common request-building code and 
> preserve field presence through SCM response decoding and OM key-location 
> serialization.
> *Acceptance criteria:*
> * A service can read omitted, false and true settings consistently.
> * A captured legacy allocation request omits policy and fallback; a typed 
> request carries the policy and its explicit fallback value, including false.
> * Translator APIs and key-location round-trip tests distinguish absent tier 
> from DISK and absent fallback from false. The existing ON path for requests 
> from older OMs still works.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to