Bound pipeline cache flush waits at shutdown #114
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem!114
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-114"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@aycow on GitHub · 2026-12-01 21:17 UTC · original
aycow:fix/pipeline-writer-shutdown-timeout→main· +89 −8 · 4 files · 1 commits · merged 2026-12-02 01:43 UTCProblem
The native pipeline cache writer introduced in #100 uses a bounded queue. At shutdown, a blocking send can wait indefinitely for space before the 10-second acknowledgment timeout starts. The pipeline library writer also blocks on both the send and the acknowledgment.
Change
Give each writer one 10-second budget covering both queue admission and acknowledgment. The flush marker still follows already queued writes. Shutdown logs a warning if either writer stalls or disconnects. Outstanding cache writes may be lost on exit and can be regenerated on a later run.
Verification
cargo check --locked -p victorypassed.main(f7f0360).