[ 
https://issues.apache.org/jira/browse/NIFI-13568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ferenc Kis updated NIFI-13568:
------------------------------
    Labels: minifi-java  (was: )

> [MiNiFi] Potential SAX parser concurrency issue when sending manifest
> ---------------------------------------------------------------------
>
>                 Key: NIFI-13568
>                 URL: https://issues.apache.org/jira/browse/NIFI-13568
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: MiNiFi
>    Affects Versions: 2.0.0-M4
>            Reporter: Ferenc Kis
>            Assignee: Ferenc Kis
>            Priority: Major
>              Labels: minifi-java
>             Fix For: 2.0.0-M5
>
>
> Since NIFI-13123 C2 heartbeats and acknowledgements happen on separate 
> threads.
> Heartbeating and the C2 operation UPDATE/CONFIGURATION requires the manifest 
> to be loaded and processed, it may occur that the two separate threads will 
> try to concurrently load and parse the manifest.
> Since SAXParser is not thread safe, an exception will be thrown, and the 
> acknowledge handler thread may stop, and won't be restarted.
> Goals:
> * make the manifest parsing logic thread safe, so concurrent access won't 
> result in an error
> * make acknowledge handler logic more robust, so exceptions thrown from 
> operation handlers won't cause the thread to exit



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to