[ https://issues.apache.org/jira/browse/FLINK-14510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhu Zhu reassigned FLINK-14510: ------------------------------- Assignee: Zhu Zhu > Remove the lazy vertex attaching mechanism from ExecutionGraph > -------------------------------------------------------------- > > Key: FLINK-14510 > URL: https://issues.apache.org/jira/browse/FLINK-14510 > Project: Flink > Issue Type: Improvement > Components: Runtime / Coordination > Affects Versions: 1.10.0 > Reporter: Zhu Zhu > Assignee: Zhu Zhu > Priority: Major > Fix For: 1.12.0 > > > Currently in production, the vertex attaching is only invoked right after the > ExecutionGraph is created in ExecutionGraphBuilder. That means lazy attaching > is not necessary at the moment. It however adds extra complexity to > ExecutionGraph, since we need to assume that the vertices may be not > initialized or even get changed. > Moreover, attaching vertices after a job starts scheduling is an undefined > behavior which would not work properly. > I'd propose to remove the lazy attaching mechanism, and do vertices building > and related components initialization in ExecutionGraph constructor. -- This message was sent by Atlassian Jira (v8.3.4#803005)