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

Allow rolling restart on PortalInstanceLifecycleListener like SamlKeepAliveExpandoPortalInstanceLifecycleListener

    Details

      Description

      Rolling restart isn't working when deploying first time listeners like SamlKeepAliveExpandoPortalInstanceLifecycleListener. DXP Cloud rolling restart is an example of so:

      Currently rolling restart in DXP Cloud is performed using the following steps:

      1. Start a number of new nodes out of a generated image (that can include new applications/modules deployed).
      2. Those new nodes will not be visible from the outside, but conform Liferay cluster.

       

      Because non Clusterable PortalInstanceLifecycleListener are only executed on master the following can happen:

      1. Assume one node is already up.
      2. Start a new node from a new image that contains the SAML plugin.
      3. PortalInstanceLifecycleListener won't be executed because new node isn't master.
      4. Stop the oldest node, previous node becomes master.
      5. Start a second node with same image as in step 2.
      6. PortalInstanceLifecycleListener won't be executed because new node isn't master.

       

      So we end up with a couple of nodes were PortalInstanceLifecycleListener couldn't be executed.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              della.wang Della Wang (Inactive)
              Reporter:
              mariano.alvaro Mariano Álvaro
              Participants of an Issue:
              Recent user:
              Enterprise Release HU
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                13 weeks, 5 days ago

                  Packages

                  Version Package
                  7.2.X
                  7.3.X
                  Master