Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
Master
Description
Steps to reproduce:
1) Enable cluster by setting "cluster.link.enabled=true"
2) Start node1 and node2 one by one
3) Find master node, go to Control Panel->Configuration->Server Administration->Script, run
if(com.liferay.portal.kernel.cluster.ClusterMasterExecutorUtil.isMaster()){ out.println("This node is master node");}else { out.println("This node is slave node");}
4) Close master node, and wait for it is fully closed. Random InterruptedException may show on shutting down master node, if it is shown, no need to do 5).
5) On the other node, go to Control Panel->Configuration->System Settings, search for "elasticsearch"
Expected: there are results
Actual: No result