Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-15213

Cluster listener installed remote listener should only send events that map to original annotation filter

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 14.0.17.Final
    • Listeners
    • None

      When a cluster listener is installed on a node it will replicate that listener to another node. This works fine, however when a cluster listener is first installed it can provide a set of annotations it wants to listen to that is used for that node. However, the replicated listener does not adhere to this, causing additional intra cluster updates that are just discarded later.

      https://github.com/infinispan/infinispan/blob/18be324b1c20890c2744bbf881f0a29d1ce42237/core/src/main/java/org/infinispan/notifications/FilteringListenable.java#L76

      This could be done by adding an explicit argument to the RemoteClusterListener or also by passing a filter that filters these event types out.

              wburns@redhat.com Will Burns
              wburns@redhat.com Will Burns
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: