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/01/22 16:56:00 UTC

[jira] [Created] (NIFI-7058) Base64EncodeContext processor causing content repository to grow in size

Stefano Piana created NIFI-7058:
-----------------------------------

             Summary: Base64EncodeContext processor causing content repository to grow in size
                 Key: NIFI-7058
                 URL: https://issues.apache.org/jira/browse/NIFI-7058
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
    Affects Versions: 1.10.0
         Environment: NiFi Single Node, NiFi Cluster
            Reporter: Stefano Piana
         Attachments: Base64EncodeContent_bug.xml

We encountered this bug causing NiFi content repository to grow in size (and not getting cleaned up properly until a restart) when passing flowfiles with empty content to the  Base64EncodeContext processor. This happens in particular when flowfiles with any content are cleaned (i.e., with a ReplaceText processor) then passed with the empty content to the Base64EncodeContent both in decode or encode modality. We observed this behaviour on NiFi 1.10 both on windows and Ubuntu 18.04, java 8 and 11. Here attached a simple template of a flow to reproduce the bug,
it should generate a few gigabytes of corrupted content repository if run for a couple of minutes. 



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