You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Tony Kurc (JIRA)" <ji...@apache.org> on 2015/11/18 23:36:11 UTC

[jira] [Commented] (NIFI-1187) Fix Concurrency problems in FlowFileEvent in flume util and CouchbaseClusterControllerService

    [ https://issues.apache.org/jira/browse/NIFI-1187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15012214#comment-15012214 ] 

Tony Kurc commented on NIFI-1187:
---------------------------------

for background on this: see Java Concurrency In Practice 16.1.2 on Reordering. 

> Fix Concurrency problems in FlowFileEvent in flume util and CouchbaseClusterControllerService
> ---------------------------------------------------------------------------------------------
>
>                 Key: NIFI-1187
>                 URL: https://issues.apache.org/jira/browse/NIFI-1187
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 0.3.0
>            Reporter: Tony Kurc
>            Assignee: Tony Kurc
>            Priority: Minor
>             Fix For: 0.4.0
>
>         Attachments: NIFI-1087.000.patch
>
>
> org.apache.nifi.processors.flume.util.FlowFileEvent has a concurrency bug where if assigments in a critical section are reordered, unexpected behavior occurs.
> getHeaders and getBody
> Fix is to remove the unguarded checks to boolean fields in the code



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