You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Robin Lutz (Jira)" <ji...@apache.org> on 2020/11/30 14:51:00 UTC
[jira] [Created] (NIFI-8053) ReplaceText with Expression Language
in Match Group results in Data Loss/Corruption
Robin Lutz created NIFI-8053:
--------------------------------
Summary: ReplaceText with Expression Language in Match Group results in Data Loss/Corruption
Key: NIFI-8053
URL: https://issues.apache.org/jira/browse/NIFI-8053
Project: Apache NiFi
Issue Type: Bug
Components: Core Framework
Affects Versions: 1.12.1, 1.11.4
Environment: Running in Docker in Kubernetes on a Ubuntu Host
Reporter: Robin Lutz
Attachments: replace_text_race_condition.xml
This seems to be related to https://issues.apache.org/jira/browse/NIFI-7683
When I run a ReplaceText processor with multiple Threads and also manipulate the result within an expression (im my case _${'$1':escapeJson()}_), the processor will corrupt (cut off) or loose data.
I attached a template that demonstrates the case.
I did not see these problems in 1.11.2, never tried 1.11.3, and have i since then with every release (1.12.0 and 1.12.1).
Finally, after noticing the bug mentioned above, I was able to reproduce the problem.
Blocker and Important, because the user can loose data.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)