mxm commented on a change in pull request #13042:
URL: https://github.com/apache/flink/pull/13042#discussion_r464480866
##########
File path:
flink-core/src/main/java/org/apache/flink/configuration/TaskManagerOptions.java
##########
@@ -79,6 +79,16 @@
.defaultValue(false)
.withDescription("Whether to kill the TaskManager when
the task thread throws an OutOfMemoryError.");
+ /**
+ * Whether the task manager should attempt to gracefully shutdown
itself on errors.
+ */
+ @Documentation.Section(Documentation.Sections.ALL_TASK_MANAGER)
+ public static final ConfigOption<Boolean> GRACEFUL_SHUTDOWN_ON_ERROR =
+ key("taskmanager.graceful-shutdown-on-error")
Review comment:
The scope is currently all task manager processes but it makes sense to
extend it to all entry points.
----------------------------------------------------------------
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]