[CONTROLLER-1450] NotificationSubscriber's exception prevents notifications to other listeners Created: 13/Nov/15  Updated: 18/Nov/15  Resolved: 18/Nov/15

Status: Resolved
Project: controller
Component/s: mdsal
Affects Version/s: Beryllium
Fix Version/s: None

Type: Bug
Reporter: Kamal Rameshan Assignee: Kamal Rameshan
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Duplicate
is duplicated by CONTROLLER-1451 There is a problem about md-sal notif... Resolved
External issue ID: 4636

 Description   

If a rouge listner throws an exception , that seems to be going all the way to the Lmax disruptor and further notifications are not delivered

Other listeners who are subscribed do not receive this notification.

From the exception, the thread seems to have been killed.

Exception

com.cisco.osc.dc.overlay.codecs.AbstractOAMPacketProcessor.onPacketReceived(AbstractOAMPacketProcessor.java:39) [na:na]
at org.opendaylight.yangtools.yang.binding.util.NotificationListenerInvoker.invokeNotification(NotificationListenerInvoker.java:91) [na:na]
at org.opendaylight.controller.md.sal.binding.impl.BindingDOMNotificationListenerAdapter.onNotification(BindingDOMNotificationListenerAdapter.java:44) [na:na]
at org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouterEvent.deliverNotification(DOMNotificationRouterEvent.java:50) [na:na]
at org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouter$1.onEvent(DOMNotificationRouter.java:68) [na:na]
at org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouter$1.onEvent(DOMNotificationRouter.java:65) [na:na]
at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:128) [na:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_75]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_75]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75]



 Comments   
Comment by Kamal Rameshan [ 13/Nov/15 ]

fix: https://git.opendaylight.org/gerrit/#/c/29681/

Generated at Wed Feb 07 19:55:35 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.