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
@erfan-mehraban You're right.. we should have prioritized items based on their ID's when we re queued. But I'm afraid it's too late to change that behavior :'(
It seems checking requeue order has logical problem.
ubroker/internal/broker/core_test.go
Line 248 in cb32497
If we consume after publishing queue is like
(front of queue) 1 2 3 (back of queue)
, requeue in order of3 2 1
should results in this way:3
2 3
1 2 3
But this function test it in wrong order. (
3 2 1
)The text was updated successfully, but these errors were encountered: