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

Mark Payne updated NIFI-7683:
-----------------------------
    Description: 
ReplaceText, when scheduled to run with multiple Concurrent Tasks, and using a 
Replacement Strategy of "Regular Expression" or "Literal Replace" can result in 
content being corrupted by sharing a single buffer (byte[]) between threads.

The issue is far more likely to occur with multiple Concurrent Tasks, but it 
may be possible to trigger when using a single Concurrent Task.

  was:ReplaceText, when scheduled to run with multiple Concurrent Tasks, and 
using a Replacement Strategy of "Regular Expression" or "Literal Replace" can 
result in content being corrupted by sharing a single buffer (byte[]) between 
threads.


> ReplaceText with multiple concurrency tasks can result in data corruption
> -------------------------------------------------------------------------
>
>                 Key: NIFI-7683
>                 URL: https://issues.apache.org/jira/browse/NIFI-7683
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.12.0, 1.11.4
>            Reporter: Mark Payne
>            Priority: Blocker
>             Fix For: 1.12.0
>
>
> ReplaceText, when scheduled to run with multiple Concurrent Tasks, and using 
> a Replacement Strategy of "Regular Expression" or "Literal Replace" can 
> result in content being corrupted by sharing a single buffer (byte[]) between 
> threads.
> The issue is far more likely to occur with multiple Concurrent Tasks, but it 
> may be possible to trigger when using a single Concurrent Task.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to