You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "marco polo (JIRA)" <ji...@apache.org> on 2017/03/23 18:37:42 UTC

[jira] [Updated] (MINIFI-234) Flow Controller getFlowController singleton pattern isn't thread safe

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

marco polo updated MINIFI-234:
------------------------------
    Fix Version/s: cpp-0.2.0

> 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
>            Assignee: marco polo
>            Priority: Critical
>             Fix For: cpp-0.2.0
>
>
> 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)