[
https://issues.apache.org/jira/browse/NIFI-12340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17784973#comment-17784973
]
ASF subversion and git services commented on NIFI-12340:
--------------------------------------------------------
Commit aff4e5fd1b0fed73fed47f9b937a4f51a8f1b52f in nifi's branch
refs/heads/main from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=aff4e5fd1b ]
NIFI-12340: Only call PythonBridge.onProcessorRemoved for python based
processors, not all processors. Do so in a background virtual thread. Also
specified explicit versions for openai dependencies to ensure correctness,
since the newly released 1.x is not yet compatible with the latest langchain
This closes #8001
Signed-off-by: David Handermann <[email protected]>
> Only call PythonBridge.onProcessorRemoved for Python Processors and do in
> background
> ------------------------------------------------------------------------------------
>
> Key: NIFI-12340
> URL: https://issues.apache.org/jira/browse/NIFI-12340
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 2.0.0
> Reporter: Mark Payne
> Assignee: Mark Payne
> Priority: Major
> Fix For: 2.0.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Every time that a Processor is removed, we are calling
> PythonBridge.onProcessorRemoved(). But we only need to do this for Python
> based processors. Additionally, we should do this in a background (virtual)
> thread because it needs to communicate over sockets to the Python process and
> there's no need to wait on that to complete in order to Reload a processor.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)