New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unhandled Hz (C/S) exception when shutting down instance #17070
Comments
@shashanka981 This is an expected behaviour. Any method can throw |
@sancar to clarify, this exception occurs not because client is not able to connect to cluster members, but when client is undergoing shutdown (via explicit call to HazelcastInstance.shutdown() invocation as part of applcation server shutdown hook. Why does Hazelcast explicitly logs the message as a warning during shutdown ? What does the below message mean to a developer working with hazelcast ? "Terminating MessageListener com.org.platform.cluster.internal.HazelcastClientClusterProvider$MembershipEventListener@3aa798ff on topic: test/member/membership/event/topic. Reason: Unhandled exception, message: Client is shutting down |
ReliableTopic MessageListener supposed to handle the internal exceptions where it can and log them as So to our users, it should be hidden. Since the client is shutting down, there is nothing user can do anymore, it does not make sense to I am marking this issue as defect. We are maintaining 3.12.x and 4.x series at the moment. We will provide the fix for these versions. |
ReliableTopicMessageListener should not warn the user when the client is shutting down. InstanceNotActiveException is already in finest. This pr makes ClientNotActiveException log level finest too. fixes hazelcast#17070
ReliableTopicMessageListener should not warn the user when the client is shutting down. InstanceNotActiveException is already in finest. This pr makes ClientNotActiveException log level finest too. fixes hazelcast#17070 (cherry picked from commit d792c28)
ReliableTopicMessageListener should not warn the user when the client is shutting down. InstanceNotActiveException is already in finest. This pr makes ClientNotActiveException log level finest too. fixes hazelcast#17070
ReliableTopicMessageListener should not warn the user when the client is shutting down. InstanceNotActiveException is already in finest. This pr makes ClientNotActiveException log level finest too. fixes #17070
ReliableTopicMessageListener should not warn the user when the client is shutting down. InstanceNotActiveException is already in finest. This pr makes ClientNotActiveException log level finest too. fixes #17070
When Hazelcast is run in Client/Server mode, an exception is reported on the hazelcast client instance that is being shut down. The message shown is:
Version of hazelcast used for both client and server is hazelcast enterprise 3.11.5
Listener referred in the issue is actually registered during client intialization as below
instance.getReliableTopic("test/member/membership/event/topic").addMessageListener();
Wanted to know if this is an issue or expected behaviour ? If it is an issue, what is the impact of this exception and how can we fix it
The text was updated successfully, but these errors were encountered: