mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 10:37:23 +01:00
81600716cafd85bc2578b677cf29ab31bd878f52
The passive wait's checkpoint read takes the store's read lock, which a checkpoint publication holds across its descriptor I/O; a stall there kept the loop from rechecking the write's retry deadline. The wait is now passiveCheckpointWait, with every read through boundedRead (a read still blocked at the deadline ends the wait, reported as blocked), and no read is started after the deadline. TestPassiveCheckpointWaitIsBoundedByItsDeadline: a read blocked behind a held lock, and a checkpoint that never advances, each with the flusher always in a cycle, end at the 300 ms deadline; with the read unbounded the first case hangs until the test's timeout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Go
84.7%
Rust
7.7%
Shell
2.7%
templ
1.5%
Java
1%
Other
2.1%