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

Devesh Kumar Singh edited comment on HDDS-17535 at 11/30/26, 10:55 AM:
-----------------------------------------------------------------------

Thanks [~greenwich].
1. Container selection — agreed, correcting the doc. 
2. intendedTier on every container vs fallback-only — good point. The universal 
form (promotion = "replica volume != intendedTier", null = legacy) is 
attractive because it also heals the repair case below. I've recorded both 
shapes as an open decision; leaning toward universal if the simpler promotion 
rule and repair-healing are worth setting the field on every container.
3. When data can move — added to the comparison. Options 1/2 promote only when 
the container closes (RM acts on closed containers); Option 3 at key commit. 
Noted that under light HOT traffic a fallback container can stay open a while, 
delaying promotion.

*Two follow-ups — agreed, will file.*
1. Current placement per key. After promotion the OM key location still records 
storageTier = DISK, isFallBack = true (a write-time snapshot) and SCM can't 
push the update to OM. Resolve by either stopping persistence of storageTier at 
commit, or having Recon report current placement from its container-to-key 
mapping plus container reports — HDDS-17818.
2. Operator trigger. ozone admin storagepolicy satisfy <bucket|key> (the hdfs 
mover -p equivalent) next to the existing check, so ops can force 
reconciliation. Agree this would be popular with op teams.

Attached the version 1 of "*StoragePolicyRepairFallBackDesignContract_v1.md*"
 [^StoragePolicyRepairFallBackDesignContract_v1.md] 

cc: [~rakeshr] [~rbarooah]


was (Author: JIRAUSER295411):
Thanks [~greenwich].
1. Container selection — agreed, correcting the doc. 
2. intendedTier on every container vs fallback-only — good point. The universal 
form (promotion = "replica volume != intendedTier", null = legacy) is 
attractive because it also heals the repair case below. I've recorded both 
shapes as an open decision; leaning toward universal if the simpler promotion 
rule and repair-healing are worth setting the field on every container.
3. When data can move — added to the comparison. Options 1/2 promote only when 
the container closes (RM acts on closed containers); Option 3 at key commit. 
Noted that under light HOT traffic a fallback container can stay open a while, 
delaying promotion.

*Two follow-ups — agreed, will file.*
1. Current placement per key. After promotion the OM key location still records 
storageTier = DISK, isFallBack = true (a write-time snapshot) and SCM can't 
push the update to OM. Resolve by either stopping persistence of storageTier at 
commit, or having Recon report current placement from its container-to-key 
mapping plus container reports — HDDS-17818.
2. Operator trigger. ozone admin storagepolicy satisfy <bucket|key> (the hdfs 
mover -p equivalent) next to the existing check, so ops can force 
reconciliation. Agree this would be popular with op teams.

Attached the version 1 of "*StoragePolicyRepairFallBackDesignContract_v1.md*"
 [^StoragePolicyRepairFallBackDesignContract_v1.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, 
> StoragePolicyRepairFallBackDesignContract_v1.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