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

A failed job is not unlocked when the FailedJobListener throws an exception

    Details

      Description

      Problem:
      When a job execution fails then the FailedJobListener is invoked which can decrement the retries and unlock the job. If the FailedJobListener throws an exception then the whole transaction rolls back and the job is still locked.
      This can happen when an incident creation fails because of an optimistic lock exception.

      AT:

      • when the FailedJobListener throws an optimistic lock exception then try to invoke the listener again
      • I can configure the amount of retries

        Issue Links

          Activity

          philipp.ossler Philipp Ossler created issue -
          philipp.ossler Philipp Ossler made changes -
          Field Original Value New Value
          Link This issue is related to CAM-5157 [ CAM-5157 ]
          philipp.ossler Philipp Ossler made changes -
          Link This issue is depended on by SUPPORT-3198 [ SUPPORT-3198 ]
          meyer Daniel Meyer made changes -
          Assignee Svetlana Dorokhova [ svetlana.dorokhova ]
          svetlana.dorokhova Svetlana Dorokhova made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          svetlana.dorokhova Svetlana Dorokhova made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Original Estimate 0 minutes [ 0 ]
          Remaining Estimate 0 minutes [ 0 ]
          Assignee Svetlana Dorokhova [ svetlana.dorokhova ] Thorben Lindhauer [ thorben.lindhauer ]
          Resolution Fixed [ 1 ]
          thorben.lindhauer Thorben Lindhauer made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Assignee Thorben Lindhauer [ thorben.lindhauer ] Svetlana Dorokhova [ svetlana.dorokhova ]
          svetlana.dorokhova Svetlana Dorokhova made changes -
          Status Reopened [ 4 ] In Progress [ 3 ]
          svetlana.dorokhova Svetlana Dorokhova made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Assignee Svetlana Dorokhova [ svetlana.dorokhova ] Thorben Lindhauer [ thorben.lindhauer ]
          Resolution Fixed [ 1 ]
          thorben.lindhauer Thorben Lindhauer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          meyer Daniel Meyer made changes -
          Fix Version/s 7.7.0-alpha2 [ 14898 ]
          michael.schoettes Michael Schoettes made changes -
          Assignee Thorben Lindhauer [ thorben.lindhauer ] Svetlana Dorokhova [ svetlana.dorokhova ]
          michael.schoettes Michael Schoettes made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          svetlana.dorokhova Svetlana Dorokhova made changes -
          Fix Version/s 7.5.9 [ 14704 ]
          Fix Version/s 7.5.x [ 14200 ]
          svetlana.dorokhova Svetlana Dorokhova made changes -
          Fix Version/s 7.6.5 [ 14891 ]
          Fix Version/s 7.6.x [ 14597 ]
          svetlana.dorokhova Svetlana Dorokhova made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          thorben.lindhauer Thorben Lindhauer made changes -
          Workflow camunda BPM [ 42520 ] Backup_camunda BPM [ 62702 ]

            People

            • Assignee:
              svetlana.dorokhova Svetlana Dorokhova
              Reporter:
              philipp.ossler Philipp Ossler
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development