mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
- hostlimit: Config.FetchSlots (default 64, files fetch-0..N-1 in the pool). HoldFetch takes a free slot without waiting, from the key's hash slot; with every slot held it blocks on its hash slot (the kernel queues the waiters) and tries the other slots every 20 ms, using whichever lock comes first and releasing the other; its context bounds the wait, and a lock got after that is released at once. lockBlocking on Unix and Windows. - storage: BudgetFetch; fillOnce holds one slot across its remote read only (a read miss and a hydrate-all fill alike); a context error on the wait is the hydration path's pending, as before. - blockvolume: --host-limit-fetch-slots. Invariants: INV-HOST-FETCH-CAP-001; M7 states it. v1.1 notes carry it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>