ClusterManager#isSeniorClusterMember method returns ‘true’ until the node in cluster receives ‘joinCluster’ event.
- Custom built plugin name ‘cltest’ deployed with other Openfire plugins and HazelCast
- cltest loads up. Its determining cluster status using ClusterManager.,isClusteringAvailable && ClusterManager.isSeniorClusterMemebr. This condition returns ‘true’ on all the nodes cluster until each node received ‘joinCluster’.
How to determine cluster state in this situation ?