You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Duplicate subqueue registration makes messages unreachable #8223
The queue replaces the key lookup when the same subqueue is registered twice, but its priority group still contains the original queue. New messages then increase the total count while becoming unreachable to consumers.
Before: duplicate key -> lookup points to an orphan queue -> total count includes an unreachable message
After: duplicate key -> existing queue is preserved -> all messages remain selectable
Expected behavior:
Registering an existing key should preserve and return the registered queue so previously and subsequently enqueued messages remain reachable.
Reproduction evidence:
On current main, register a subqueue, enqueue one message, register the same key again, and enqueue a second message. The first message can be read, but peek() then returns None while the reported total size remains 1.
Observed on 70c21145887920528d7d5540e3fb790b43e8b759:
Activity
carloea2 commentedon Sep 5, 2026
/take