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

MEMORY_CLUSTERED job scheduled on slave node is not running

    Details

      Description

      Steps to reproduce:

      1) Start two portal nodes, node1 and node2, make them in a cluster.
      2) Run a MEMORY_CLUSTERED job on the second node you started.

      Expected Results
      You see the first node is running the job

      Actual Results
      The first node is not running the job

      For QA
      Please make sure that both MEMORY_CLUSTERED and PERSISTED are worked as what we want.

      Root reason
      The reason here is SchedulerClusterInvokeAcceptor, it is checking ClusterInvokeThreadLocal.isEnabled(). If it is true, it means it is NOT invoked from cluster, false means it is invoked from cluster. Here the checking should be:
      if (ClusterInvokeThreadLocal.isEnabled())

      { return false; }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sophia.zhang Sophia Zhang
                Reporter:
                tina.tian Tina Tian
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 14 weeks, 1 day ago

                  Packages

                  Version Package
                  7.0.0 M4