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

Siyao Meng updated HDDS-16449:
------------------------------
    Attachment: HDDS-16449.001.patch

> SCM leadership transfer can schedule a redundant delete that drops a 
> container below RF
> ---------------------------------------------------------------------------------------
>
>                 Key: HDDS-16449
>                 URL: https://issues.apache.org/jira/browse/HDDS-16449
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Siyao Meng
>            Priority: Major
>         Attachments: HDDS-16449.001.patch
>
>
> h3. Finding
> On SCM leadership transfer the new leader clears pending ops and schedules a 
> redundant delete on a different replica; if both deletes land the container 
> falls below RF. Same safety consequence as the over-replication split-lock 
> delete, currently masked by the datanode-side term gate composed with the 
> 5-minute RM startup wait exceeding the 30s heartbeat term propagation. 
> MASKED: classified by the consequence the defect would expose if the timing 
> mask were absent.
> h3. Classification
> * Verdict: MASKED
> * Severity: High
> * Source: Specula TLA+ model checking and confirmation debate, finding MC-2
> h3. Reproduce
> {noformat}
> Ozone commit: 9fbf9ee0cb1bd2f5f5d437b6719ebbe5309351fb
> Specula:      v1.1.0 (commit c6aa3dfa)
> Target:       scm-ratis-replication
> Guidance:     
> campaigns/ozone-9fbf9ee/targets/012-scm-ratis-replication/.prompt-extra.md
> {noformat}
> {code:none}
> specula run --agent=claude-code --effort=medium --keep-original 
> --max-parallel=2 \
>   --enable-reviews --confirm-debate --tlc-memory-limit=28G 
> --tlc-worker-limit=8 \
>   "scm-ratis-replication|apache/ozone|Java|Use the target-specific 
> .prompt-extra.md"
> {code}
> Discovered under HDDS-16431 (Specula TLA+ verification effort). The TLA+ 
> specification, counterexample, and confirmation debate live in the Specula 
> run artifacts.
> Generated with Specula (Claude Opus 4.8).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to