Commit f234ff0
[fix](job) fix StreamingInsertJob incorrectly counting canceled tasks (#61894)
## What problem does this PR solve?
Problem Summary:
- `StreamingInsertJob` does not support manual task cancellation
- `cancelAllTasks()` is only triggered internally when job is STOPPED or
PAUSED, meaning the task was interrupted passively
- Change `canceledTaskCount.incrementAndGet()` in `cancelAllTasks()`,
when task is running `canceledTaskCount` need incr1 parent aee9b0b commit f234ff0
File tree
1 file changed
+8
-1
lines changed- fe/fe-core/src/main/java/org/apache/doris/job/extensions/insert/streaming
1 file changed
+8
-1
lines changedLines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
440 | 445 | | |
441 | | - | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
442 | 449 | | |
443 | 450 | | |
444 | 451 | | |
| |||
0 commit comments