WAL deletion detection fix for OpenZFS dentries
Cluster 107401. Data as of
Nothing open on GitHub. Fix merged in #108082 on 11 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #108082. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #108082. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items address a bug where the deleted-WAL guard incorrectly identifies OpenZFS '(deleted)' directory entries as unlinked files, causing spurious DeletedWalGenerationError and related database wedging. The fix changes the identity check to compare file descriptors against the watched path rather than st_nlink.
Open issues0
Open PRs0
Fixes on record
-
#108082 state.db no longer wedges on a healthy WAL: OpenZFS/close() false DeletedWalGenerationError, unconfirmed-WAL read pool, transient read IOERR, stale lock banner (#107401 #105567 #86515 #100871 #108031, salvage #107411 #105578 #105711 #106958)
files:
agent/turn_explainers.py,contributors/emails/[redacted:email],contributors/emails/[email protected],gateway/run_notifications.py,hermes_state.py,hermes_state_dbfile.py,hermes_state_errors.py,hermes_state_readpool.py,hermes_state_wal.py,tests/gateway/test_session_db_warning_recheck.py,tests/hermes_state/test_deleted_wal_generation_guard.py,tests/hermes_state/test_read_path_transient_ioerr.py,tests/hermes_state/test_wal_active_confirmed.py,tests/run_agent/test_turn_completion_explainer.py,tests/test_hermes_state_wal_fallback.py
1 PR closed without merging
From the close comments: merged via another change 1
-
#107411 fix(state): compare fd identity against the watched path, not st_nlink · merged via another change →
d956e05,#108082
Closed issues · 1
- Closed#107401[Bug]: deleted-WAL guard misreads OpenZFS `(deleted)` dentries as unlinked sidecars — permanent DeletedWalGenerationError, JSONL fallback
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Merged PRs
- #108082
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 11 Sep 2026