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

Mark Payne updated NIFI-843:
----------------------------
    Attachment:     (was: 
0001-NIFI-843-Ensure-that-a-new-HashMap-is-used-when-popu.patch)

> RouteOnAttribute has a concurrency bug
> --------------------------------------
>
>                 Key: NIFI-843
>                 URL: https://issues.apache.org/jira/browse/NIFI-843
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 0.3.0
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Blocker
>             Fix For: 0.3.0
>
>
> Changes made for 0.3.0 involve RouteOnAttribute using a HashMap as a member 
> variable and the 'volatile' keyword protects access to that member variable. 
> However, it does not protect the contents of the Map. Rather than clearing 
> the map and re-populating it each time, it needs to construct a hash map each 
> time it is scheduled to run.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to