[fix](statistics)Fix sync analyze job timeout block bug. (#36199)

Fix sync analyze job timeout block bug. When a task of a analyze job
timeout, it should throw an exception instead of finish silently.
This commit is contained in:
Jibing-Li
2024-06-14 09:47:51 +08:00
committed by GitHub
parent a23aee2883
commit bfb41c15de

View File

@ -208,7 +208,7 @@ public abstract class BaseAnalysisTask {
int retriedTimes = 0;
while (retriedTimes < StatisticConstants.ANALYZE_TASK_RETRY_TIMES) {
if (killed) {
break;
throw new RuntimeException("Task is Killed or Timeout");
}
try {
doExecute();