AnsweredAssumed Answered

hazelcast2.1.2 bug

Question asked by xy on Oct 28, 2015
Latest reply on Oct 29, 2015 by xy

My english is not very well, I hope you can understand what I say.,thanks!

i used hazelcast2.1.2 plugin to building a two computer openfire  cluster.。 One computer become seniorClusterMember i called it A. the other one not seniorClusterMember we called B. A and B can communicate with each other. i stop the openfire on  computer A,  In my opinion,B should call the markedAsSeniorClusterMember method of ClusterEventListener , but not。i read the source code of ClusterListener.class, like below:

1.jpg

i found !seniorClusterMember=false, so seniorClusterMember's  is true。so the code below  can never be executed.

2.jpg

Outcomes