Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Client re-connection problem after shutdown #220
I experienced problem while retrieveing queue after a re-connection, here is the scenario:
1 - I start 2 hazelcast servers instances on two separate server IP1, IP2
When trying to access to a distributed queue i get this exception while iterating over the element:
Caused by: java.lang.RuntimeException: com.hazelcast.nio.Data cannot be cast to com.hazelcast.impl.Keys
This does not happens if the client connects to the server IP1 whom the client was connected before.
I don't know how to manage this case which is unexpected (Hazelcast servers has no master instance), unless we manage a master instance of hazelcast server.
I'm running the 2.2 Community Edition