killbill-commons icon indicating copy to clipboard operation
killbill-commons copied to clipboard

queue: notification queue can become stuck if some handlers are not found

Open pierre opened this issue 12 years ago • 2 comments

When a node claims some entries, but cannot find the NotificationQueueHandler for them, the entries are left claimed in the database:

https://github.com/killbill/killbill-commons/blob/master/queue/src/main/java/com/ning/billing/notificationq/NotificationQueueDispatcher.java#L184

This will result in another node eventually stealing them from the first node. If the handler is never present, the notification queue can become stuck (by always claiming these entries which cannot be processed).

pierre avatar Jul 28 '13 19:07 pierre

@pierre Should we close this?

sbrossie avatar Feb 23 '22 21:02 sbrossie

I think this is still an issue today.

pierre avatar Feb 24 '22 08:02 pierre