You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Payne (JIRA)" <ji...@apache.org> on 2017/03/15 17:34:41 UTC

[jira] [Created] (NIFI-3605) WriteAheadProvenanceRepository can get into infinite loop if max event file size is smaller than the header

Mark Payne created NIFI-3605:
--------------------------------

             Summary: WriteAheadProvenanceRepository can get into infinite loop if max event file size is smaller than the header
                 Key: NIFI-3605
                 URL: https://issues.apache.org/jira/browse/NIFI-3605
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
            Reporter: Mark Payne
            Assignee: Mark Payne


If the "nifi.provenance.repository.rollover.size" property is set very small, less than say 10 KB then the repository will continually try to roll over the event file because the file header is larger than the max size. As a result, it can loop indefinitely. If the configured size is less than 1 MB we should use 1 MB instead of the configured size and log a warning.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)