flowable / flowable/flowable-engine

Timer job never unlocked after an exception

オープン
#3,913 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
9.5k
フォーク
2.9k
平均マージ
7時間 8分
マージ済み PR(30日)
2

説明

**Describe the bug**
please refer to https://github.com/flowable/flowable-engine/issues/2354

**Expected behavior**
I think there's still a possibility to have a lock, now UnlockTimerJobsCmd is run in the catch code block, but there is no chance to execute this code block when the app process is closed by exception.

**Additional context**
Need a thread "ResetExpiredTimerJobsRunnable" run on an independent Thread just like ResetExpiredJobsRunnable, the lock happens in any exception will be unlocked.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まずリンクされた issue 2354 を読み、ResetExpiredTimerJobsRunnable と既存の ResetExpiredJobsRunnable、およびここで言及されている UnlockTimerJobsCmd を比較してください。アプリケーションプロセスが例外の発生中に終了した場合でも、catch ブロックに依存せずに timer-job のロックがリセットされれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
backend
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。