tillrohrmann commented on a change in pull request #8268:
[FLINK-12246][runtime] Fix can't get max_attempts_history_size value when
create ExecutionVertex
URL: https://github.com/apache/flink/pull/8268#discussion_r279667733
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/ExecutionGraph.java
##########
@@ -255,6 +256,9 @@
* from results than need to be materialized. */
private ScheduleMode scheduleMode = ScheduleMode.LAZY_FROM_SOURCES;
+ /** The maximum number of prior execution attempts kept in history. */
+ private int maxPriorAttemptsHistoryLength =
JobManagerOptions.MAX_ATTEMPTS_HISTORY_SIZE.defaultValue();
Review comment:
Let's make this final and initialize it in the constructor.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services