Commit ae150e5
committed
[review][hotfix] Adds JavaDoc after checking that the ExecutionAttemptID is actually correct
I double-checked that the JobInitializationMetricsBuilder constructor is called for every local restart of tasks and the JobInitializationMetricsBuilder#reportInitializationMetrics is called by the deployed Subtask after restoring its state. ExecutionAttemptID is correct because the builder creation happens again when a new Execution attempt is triggered (through the local restart).
The totalNumberOfSubtasks was a bit misleading here.1 parent c2782ed commit ae150e5
File tree
1 file changed
+16
-0
lines changed- flink-runtime/src/main/java/org/apache/flink/runtime/checkpoint
1 file changed
+16
-0
lines changedLines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
49 | 61 | | |
50 | 62 | | |
51 | 63 | | |
| |||
119 | 131 | | |
120 | 132 | | |
121 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
122 | 138 | | |
123 | 139 | | |
124 | 140 | | |
| |||
0 commit comments