Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3704

Graceful shutdown leave hanging jobs with the state of a RUNNING causing the job to stale

    XMLWordPrintable

Details

    • 2021 Week 19-21 (from May 10), 2021 Week 22-24 (from May 31)

    Description

      Fail-over of a RUNNING job in kie-server executor doesn't work properly in 7.11.0 CR1.
      When I run the reoccurring job provided as an example in Kie server (org.kie.server.services.jbpm.cluster.ReoccurringLongPrintOutCommand) and terminate the Kie server then only the original job is passed to the second Kie server, ignoring the currently running job (the one which should be actually reran):

      16:20:15,161 INFO  [org.kie.server.services.jbpm.cluster.ClusteredJobFailOverListener] (thread-12,ejb,fedora) Node left cluster Cluster Node [null-null], failing over and requeuing [1]
      

      It works properly in 7.10.1, passing both original and currently running job:

      16:15:40,663 INFO  [org.kie.server.services.jbpm.cluster.ClusteredJobFailOverListener] (thread-10,ejb,fedora) Node left cluster Cluster Node [null-null], failing over and requeuing [1, 3]
      

      Attachments

        Issue Links

          Activity

            People

              elguardian@gmail.com Enrique González Martínez (Inactive)
              ksuta Karel Suta
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: