[ 
https://issues.apache.org/jira/browse/HDDS-17535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18152684#comment-18152684
 ] 

Aleksei Ieshin edited comment on HDDS-17535 at 11/30/26, 6:40 AM:
------------------------------------------------------------------

[~deveshsingh] Done. The new version of the contract document has been added, 
with the following changes:

* Policy resolution includes the open key's stored policy (HDDS-17374); 
{{allowFallbackStoragePolicy}} default stays true.
* Added the agreed shape of the {{allocateBlock}} fallback branch.
* HDDS-17712 as Option 2: {{storageTier}} stays physical, optional 
{{intendedTier}} on fallback containers. I agree with {{intendedTier}} 
approach. Originally, I added into my initial local raw contract version, but 
then after reading HDDS-17712 I removed that thinking it will be decided later.
* Missing tier is {{UNKNOWN}}, never DISK; {{hasStorageTier()}} decode fix in 
scope.
* S3 error: 400 {{InsufficientStorageTier}}, own {{translateResultCode}} case.
* OM gate version 107; client block-allocation retry must not retry the new 
code; HDDS-17534 owns the HDDS gate.
* EC follows the same rules via PR #12179; no EC guard.
* Repair and write path share one intent: fall back only for capacity or 
suitability failures.
* Open questions resolved and removed.

Jira doesn’t support updating existing attachments, so this is now v1. 
[^hdds-17535-contract-reviewd-1.md]


was (Author: JIRAUSER311863):
[~deveshsingh] Done. The new version of the contract document has been added, 
with the following changes:

* Policy resolution includes the open key's stored policy (HDDS-17374); 
{{allowFallbackStoragePolicy}} default stays true.
* Added the agreed shape of the {{allocateBlock}} fallback branch.
* HDDS-17712 as Option 2: {{storageTier}} stays physical, optional 
{{intendedTier}} on fallback containers.
* Missing tier is {{UNKNOWN}}, never DISK; {{hasStorageTier()}} decode fix in 
scope.
* S3 error: 400 {{InsufficientStorageTier}}, own {{translateResultCode}} case.
* OM gate version 107; client block-allocation retry must not retry the new 
code; HDDS-17534 owns the HDDS gate.
* EC follows the same rules via PR #12179; no EC guard.
* Repair and write path share one intent: fall back only for capacity or 
suitability failures.
* Open questions resolved and removed.

Jira doesn’t support updating existing attachments, so this is now v1. 
[^hdds-17535-contract-reviewd-1.md]

> Define strict and fallback storage-tier allocation contract
> -----------------------------------------------------------
>
>                 Key: HDDS-17535
>                 URL: https://issues.apache.org/jira/browse/HDDS-17535
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: Ozone Filesystem
>            Reporter: Devesh Kumar Singh
>            Assignee: Aleksei Ieshin
>            Priority: Major
>         Attachments: StoragePolicyRepairFallBackDesignContract.md, 
> hdds-17535-contract-reviewd-1.md, hdds-17535-contract-reviewd.md
>
>
> Specify and implement preferred tier, authorized fallback, unavailable-tier 
> errors, selection reporting and interaction with RATIS/EC placement. 
> *Reason:* Even a fully upgraded cluster can be unable to satisfy placement 
> intent; finalization is not capacity validation. 
> *Acceptance criteria:* Strict requests fail when infeasible; fallback uses 
> only permitted tiers; physical choices observable; policy-free behavior 
> unchanged.



--
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