[
https://issues.apache.org/jira/browse/HDDS-16439?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Siyao Meng updated HDDS-16439:
------------------------------
Attachment: HDDS-16439.001.patch
> FSO lifecycle scan can strand an emptied directory after a crash before its
> deletion flushes
> --------------------------------------------------------------------------------------------
>
> Key: HDDS-16439
> URL: https://issues.apache.org/jira/browse/HDDS-16439
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: Siyao Meng
> Priority: Major
> Attachments: HDDS-16439.001.patch
>
>
> h3. Finding
> A parent directory emptied during a scan is queued for expiry only in memory;
> a crash after the cursor advances past it but before its deletion flushes
> strands the emptied, rule-matching directory so storage/quota is not
> reclaimed and the scan still marks complete, violating DirExpiryCompleteness.
> The external effect is masked by the next-generation rescan that reclaims it;
> absent that rescan the directory would remain stranded. Reachable through the
> FSO lifecycle scan under a crash between committed child deletions and the
> parent's own deletion.
> 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: om-key-lifecycle
> Guidance:
> campaigns/ozone-9fbf9ee/targets/006-om-key-lifecycle/.prompt-extra.md
> {noformat}
> {code:none}
> specula run --agent=claude-code --effort=high --keep-original
> --max-parallel=2 \
> --enable-reviews --confirm-debate --tlc-memory-limit=28G
> --tlc-worker-limit=8 \
> "om-key-lifecycle|apache/ozone|Java|Use the target-specific
> .prompt-extra.md"
> {code}
> Discovered under HDDS-16429 (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]