Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1450

NotificationSubscriber's exception prevents notifications to other listeners

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Beryllium
    • None
    • mdsal
    • None
    • Operating System: All
      Platform: All

    • 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]

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kramesha@cisco.com Kamal Rameshan
              kramesha@cisco.com Kamal Rameshan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: