[infinispan-issues] [JBoss JIRA] (ISPN-6766) hot rod client: RemoteCache.removeClient method does not remove the listener from the list after server restart
Eli Z (JIRA)
issues at jboss.org
Wed Jun 8 09:38:00 EDT 2016
Eli Z created ISPN-6766:
---------------------------
Summary: 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.Alpha4
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
(v6.4.11#64026)
More information about the infinispan-issues
mailing list