mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
6bf0445fcdec38174c6c7c19ed2888937827c591
The startup inactivity window renewed only on replay, scan, map and attach work. A new store's prezero and the WAL fence wrote and synced whole regions with no report, so on a slow disk the window could end inside one silent step; and the chunk layer's wait for master authority, a wait the master bounds, ran out the same window. - storage: phases RecoveryCreate and RecoveryFence; syncedSlices runs a sized step 4 MiB at a time and reports a slice only after its sync; prezeroNewStore uses it, and recovery reports the fence's synced bytes. - durable: create passes RecoveryProgress; AuthorityWait tells the host when the authority wait starts and ends; Chunk.AuthorityGap names the projection fields that withhold authority. - host: recovery_timeout becomes recovery_stalled; waits are counted, the window pauses while any runs and restarts when the last ends, a stall latched before stays latched; /status RecoveryWait=awaiting_authority. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.5%
Rust
7.9%
Shell
2.7%
templ
1.6%
Java
1%
Other
2%