Cache Graphs for Run calls and graphs for PartialRun calls separately.
name_to_node_ is only populated on a PartialRun call so if a Run for graph g is followed by a PartialRun to the same graph g, the PartialRun will fail since a cached ReffedClientGraph with no name_to_node map will be returned. We should consider a better solution for this if rebuilding the graph for new partial run calls proves to be too expensive. Change: 139498839
Showing
想要评论请 注册 或 登录