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

Devesh Kumar Singh updated HDDS-18011:
--------------------------------------
    Description: 
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.

  was:
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.


> 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
>            Priority: Major
>
> 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