[infinispan-issues] [JBoss JIRA] (ISPN-6766) hot rod client: RemoteCache.removeClient method does not remove the listener from the list after server restart

Pedro Ruivo (JIRA) issues at jboss.org
Thu Feb 23 17:19:14 EST 2017


     [ https://issues.jboss.org/browse/ISPN-6766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pedro Ruivo updated ISPN-6766:
------------------------------
    Fix Version/s: 9.0.0.CR3
                       (was: 9.0.0.CR2)


> hot rod client: RemoteCache.removeClient method does not remove the listener from the list after server restart
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: ISPN-6766
>                 URL: https://issues.jboss.org/browse/ISPN-6766
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Listeners, Remote Protocols
>    Affects Versions: 8.2.1.Final
>            Reporter: Eli Z
>            Priority: Minor
>             Fix For: 9.0.0.CR3
>
>
> After registering a client listener in the client and then restarting the infinispan server --> The original listener object can not be removed from the client listener list by using the method RemoteCache.removeClient(Object listener) --> after calling this method and then get all listeners, i still see the old listener in the list.
> By doing a little debug, it seems that in class RemoveClientListenerOperation.execute when trying to remove from the server and a failure status is returned (probably due to the fact the the server after the restart does not know this listener id) the listener is not removed from the list eventually. the line this.listenerNotifier.removeClientListener(listenerId); is not executed.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the infinispan-issues mailing list