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

    • False
    • False
    • CR1
    • ER1
    • Undefined
    • Hide

      Start H2 server on TCP
      Install 2 EAP instances with Kie servers pointing to the shared H2 instance, configure the instances according to the https://access.redhat.com/documentation/en-us/red_hat_process_automation_manager/7.10/html/installing_and_configuring_red_hat_process_automation_manager/clustering-ps-con_clustering-runtime-standalone#clustering-kie-server-failover-proc_clustering-runtime-standalone

      Start reoccurring job on one instance using "org.kie.server.services.jbpm.cluster.ReoccurringLongPrintOutCommand"
      Terminate the instance running the reoccurring job.
      =>
      The job is not retriggered in the second Kie server instance (it is expected to be retriggered).

      Show
      Start H2 server on TCP Install 2 EAP instances with Kie servers pointing to the shared H2 instance, configure the instances according to the https://access.redhat.com/documentation/en-us/red_hat_process_automation_manager/7.10/html/installing_and_configuring_red_hat_process_automation_manager/clustering-ps-con_clustering-runtime-standalone#clustering-kie-server-failover-proc_clustering-runtime-standalone Start reoccurring job on one instance using "org.kie.server.services.jbpm.cluster.ReoccurringLongPrintOutCommand" Terminate the instance running the reoccurring job. => The job is not retriggered in the second Kie server instance (it is expected to be retriggered).
    • 2021 Week 19-21 (from May 10), 2021 Week 22-24 (from May 31)

      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]
      

              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

                Created:
                Updated:
                Resolved: