Siyao Meng created HDDS-16444:
---------------------------------

             Summary: Concurrent cancelSnapshotDiff hides the real failure 
cause with an IllegalStateException
                 Key: HDDS-16444
                 URL: https://issues.apache.org/jira/browse/HDDS-16444
             Project: Apache Ozone
          Issue Type: Bug
            Reporter: Siyao Meng


h3. Finding
A concurrent cancelSnapshotDiff makes the diff task's catch-block 
updateJobStatusToFailed throw IllegalStateException, so the genuine 
storage-layer failure cause is never logged and a misleading exception escapes 
the worker; the terminal job state stays correct (CANCELLED) and cleanup runs, 
so the impact is diagnostic/robustness only on the operator log surface.

h3. Classification
* Verdict: REPRODUCED
* Severity: Low
* Source: Specula TLA+ model checking and confirmation debate, finding CR-3

h3. Reproduce
{noformat}
Ozone commit: 9fbf9ee0cb1bd2f5f5d437b6719ebbe5309351fb
Specula:      v1.1.0 (commit c6aa3dfa)
Target:       om-snapshot-diff-jobs
Guidance:     
campaigns/ozone-9fbf9ee/targets/009-om-snapshot-diff-jobs/.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-snapshot-diff-jobs|apache/ozone|Java|Use the target-specific 
.prompt-extra.md"
{code}
Discovered under HDDS-16430 (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