Commit 5624419
Log lock-release lifecycle in executor_step_status and distributed_lock
Adds two INFO-level log lines so the next occurrence of the self-race
described in issue #5026 can be triaged from logs alone. StatusFile.write_status
now announces the terminal-status release with path, worker, and reason; and
DistributedLease.release logs at INFO when it actually deletes the lock object
(promoted from the prior DEBUG). Together these disambiguate a self-release
from an external delete or a stale-lease takeover, which the existing
LeaseLostError message at distributed_lock.py:152 cannot distinguish.
Refs #5026
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 787e034 commit 5624419
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
123 | 129 | | |
124 | 130 | | |
125 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| |||
0 commit comments