Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-107979

Searching configuration objects and fields is not working when master node is changed

Details

    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

      Attachments

        Activity

          People

            sharry.shi Sharry Shi
            tina.tian Tina Tian
            Kiyoshi Lee Kiyoshi Lee
            Tina Tian Tina Tian
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              2 years, 41 weeks ago

              Packages

                Version Package
                7.3.1 CE GA2
                7.3.2 CE GA3
                7.3.10 DXP GA1
                Master