Skip to content

Slot waits: a cancelled or unwritten re-ask loses the slot the thread held #114

Closed

Description

@scuttletoby

From the final check of #110 (#110 (comment)), minor, no new round.

If a thread that already holds a slot asks again and that re-ask is cancelled, or its write fails between the grant and applyGrants, the hold it had was already moved to the new ask, so the thread loses its slot. This is the safe side (a slot is freed, never doubled), but the thread loses a slot it had.

Possible fix: keep the old hold until applyGrants has written the new one.

🤖 Generated with Claude Code

Activity

  1. added
    bugSomething is broken or behaving incorrectly.
    on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions