[
https://issues.apache.org/jira/browse/MINIFI-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15899929#comment-15899929
]
marco polo commented on MINIFI-234:
-----------------------------------
fix verified in
https://github.com/phrocker/nifi-minifi-cpp/commit/bbaf0bcd83e72d41183af50e2b949c3a2734c23b.
Will contribute as PR
> Flow Controller getFlowController singleton pattern isn't thread safe
> ---------------------------------------------------------------------
>
> Key: MINIFI-234
> URL: https://issues.apache.org/jira/browse/MINIFI-234
> Project: Apache NiFi MiNiFi
> Issue Type: Bug
> Components: C++
> Reporter: marco polo
> Priority: Critical
>
> This was exposed in testing. When I moved code to FlowControllerFactory I
> noticed that there was no synchronization to prevent issues. The typical
> setup doesn't necessarily cause this but if exposed as an API or in testing,
> this will cause major issues. Testing demonstrates this problem with
> concurrent tests run by CATCH
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)