Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-2710

SetJobRetriesCmd should clear lockOwner and lockExpirationTime

XMLWordPrintable

      The SetJobRetriesCmd should set lockOwner=null and lockExpirationTime=null.

      Otherwise it is possible that lockOwner has a non-null value which prevents the job from being acquired.

      Resets the lock only when an inconsistent state is detected. These are:

      • a lock owner is set but no expiration time
      • retries are 0 but a lock owner or an expiration time is set

      Does not reset a consistent job that might be currently executing. Although the job execution will fail due to optimistic locking after resettubg, this would lead also to other job executors picking the job up as well and parallel execution of the same job.

        This is the controller panel for Smart Panels app

              meyer Daniel Meyer
              meyer Daniel Meyer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: