mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
903200df851e77fda9fea254f7e12d846eabec3c
#133: when local durable recovery fails with a classifiable error, a primary-assigned replica reports the typed reason immediately instead of waiting out --recover-timeout: - wal_corrupt: storage.RecoveryFailure of kind WALIntegrity (the substrates' integrity fault, e.g. a WAL/extent CRC mismatch), or the ErrWALIntegrityFault sentinel; - io_error: kind SubstrateIO, an fs.PathError, io.ErrUnexpectedEOF or EIO. Anything else is not classified: it reports nothing early, and the watchdog's recovery_timeout still covers it. The master needs no change: the reason is an explicit unhealthy fact (Eligible=false), shown in volume status and the timeline, and fails over only to a qualified peer. Fixes #133 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.6%
Rust
7.8%
Shell
2.7%
templ
1.6%
Java
1%
Other
2%