You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Stefano Piana (Jira)" <ji...@apache.org> on 2020/05/19 10:56:00 UTC

[jira] [Created] (NIFI-7469) ReplaceText Processor May cause Content Repository Cleanup to fail

Stefano Piana created NIFI-7469:
-----------------------------------

             Summary: ReplaceText Processor May cause Content Repository Cleanup to fail
                 Key: NIFI-7469
                 URL: https://issues.apache.org/jira/browse/NIFI-7469
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
    Affects Versions: 1.11.4, 1.11.1, 1.11.0, 1.10.0
         Environment: Windows 10, ubuntu 18.04
            Reporter: Stefano Piana
         Attachments: ReplaceTextBug.xml

Trying to replace an empty flowfile with and empty value may cause the content repository 

to accumulate and not being correctly cleaned up until the next NiFi restart.

this behaviour has been observed on nifi 1.10+

to reproduce the problem just generate a flowfile that has some content, then replace the content with the ReplaceText processor setting it to always replace and set the replacement to empty string. Copy the ReplaceText processor and try replacing the content with an empty string again, then just use any processor to drain the flowfiles. This will cause the content repository to accumulate and stop being correctly cleaned up.

here attached a simple flow that reproduces the problem.
 



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