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
I believe there is a bug in queue position resolution for the waiting consumers when cancellation happens in the middle of the waiting list.
Attaching script to reproduce the bug. queue_waiting_position.txt
Expected output is IT1: 0 => 0 IT3: 1 => 1 IT1: 2 => 2 IT3: 3 => 3
Actual output IT1: -1 => 0 IT3: 1 => 1 IT1: 2 => 2 IT3: 3 => 3
The text was updated successfully, but these errors were encountered:
wtsergo
changed the title
Wrong waiting possition when canceled in the middle of the waiting list
Wrong queue waiting possition when canceled in the middle of the waiting list
Aug 21, 2024
Hello,
I believe there is a bug in queue position resolution for the waiting consumers when cancellation happens in the middle of the waiting list.
Attaching script to reproduce the bug.
queue_waiting_position.txt
Expected output is
IT1: 0 => 0 IT3: 1 => 1 IT1: 2 => 2 IT3: 3 => 3
Actual output
IT1: -1 => 0 IT3: 1 => 1 IT1: 2 => 2 IT3: 3 => 3
Also attaching proposed fix
fix-waiting-position.diff.txt
Thanks,
Sergey
The text was updated successfully, but these errors were encountered: