Skip to content

Polecat pool dispatch race: controller spawns but doesn't assign bead #1117

@azanar

Description

@azanar

Problem

When slinging work to a pool target, the controller spawns a new polecat session but never assigns the bead to it. The polecat starts, checks for assigned work, finds none, and drains. The bead sits unassigned.

Root cause hypothesis

The controller spawns the polecat but the routing metadata (gc.routed_to) is set on the bead after the polecat has already checked for work. The polecat's hook only looks at assigned work, not pool-routed work.

Related

The specific bug (controller spawns but never assigns) is NOT fully covered by any of these.

Originally filed as azanar#7

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions