Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-9752

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.56.0.Final
    • None
    • Runtime Engine
    • None

      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)
            elguardian@gmail.com Enrique González Martínez (Inactive)
            Karel Suta Karel Suta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: