someorz commented on PR #10586: URL: https://github.com/apache/dolphinscheduler/pull/10586#issuecomment-1165153413
> I find we already have this logic in `newTaskInstance`, so there is no need to do this in everywhere, am I right? This bug will not appear in new tasks. This bug is that existing tasks will appear during fault tolerance. TaskInstance taskInstance = findTaskIfExists(taskNode.getCode(), taskNode.getVersion()); findTaskIfExists return instance EnvironmentConfig is null at version 2.0.5 if new version findTaskIfExists method return TaskInstance EnvironmentConfig is not null no need to query again -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
