mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 10:07:28 +01:00
ea127a0181b2de41abd53a387bb048089e2637ca
- A limiter's first fetch checks the host configuration under configuration.lock, publishing it when absent (configGuard, now shared with cut admission): a fetch-only process with other flags gets ErrConfig. - No blocking lock: with every slot held, one fetch per process polls every slot each 20 ms (the others wait for its turn, within their context). An ended wait leaves no lock request, descriptor or goroutine; lockBlocking is removed. - The waiting is unordered and bounded by the caller's context alone; the docs say so instead of promising a kernel queue. - A slot taken when the context has already ended is given back, with the context's error. - INV-HOST-FETCH-CAP-001, M7 and the v1.1 note state the contract. 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%