[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:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user