greyp9 commented on PR #10470: URL: https://github.com/apache/nifi/pull/10470#issuecomment-3457240826
For discussion, I wanted to call attention to the broader implications of the original report. It appears that, at startup, the initial validation of the flow components is called on the "main" thread. https://github.com/apache/nifi/blob/01c4ec68930ac11e91f0634a099ce5c3a276c0b8/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/FlowController.java#L1205-L1208 If this is true, then a misbehaving component validation method (builtin or custom) has the potential to prevent the clean startup of the NiFi process. Either of these two candidate PRs alleviates the problem in `ExecuteGroovyScript`, but does not address the broader problem. I don't have a deep enough understanding of the framework to offer a solution; hopefully others will be able to contribute there. -- 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]
