Xintong Song created FLINK-18760: ------------------------------------ Summary: Redundant task managers should be released when there's no job running in session cluster Key: FLINK-18760 URL: https://issues.apache.org/jira/browse/FLINK-18760 Project: Flink Issue Type: Improvement Components: Runtime / Coordination Affects Versions: 1.12.0 Reporter: Xintong Song Assignee: Liu Fix For: 1.12.0
In FLINK-18625, we introduced redundant task managers, as backup resources for speeding up job recovery in cases of task manager lost. For a session cluster, when there's no job running, it would be better to not keep such redundant resources. Currently, Flink session cluster will not request redundant task managers until a job is submitted, but it also will not release redundant task managers after all jobs terminated. This ticket proposes to check and release task managers if there are redundant task managers only. -- This message was sent by Atlassian Jira (v8.3.4#803005)