Uploaded image for project: 'CXF Distributed OSGi'
  1. CXF Distributed OSGi
  2. DOSGI-176

zookeeper discovery sending multiple duplicate endpoint notifications

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.5.0
    • Component/s: common
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      To my understanding of the current behavior, the InterfaceMonitorManager creates a ZooKeeper watcher (InterfaceMonitor) per scope. The InterfaceMonitor however monitors ZK nodes according to the objectClass (ignoring scope). When a ZK node change is detected, the IMs watching that node all trigger IMM's event handler. But instead of sending out the EndpointListener events corresponding to the scope for which each IM was created, it loops through all of the EndpointListener requested scopes and notifies the first matching one. This effectively causes multiple events to be triggered for the same scope (instead of one per IM scope), and possibly others to be missed.

        Attachments

          Activity

            People

            • Assignee:
              amichai Amichai Rothman
              Reporter:
              amichai Amichai Rothman
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: