Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-7339

WriteAheadProvenanceRepository ignores "nifi.provenance.repository.rollover.time" property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0
    • Core Framework
    • None

    Description

      The Persistent Provenance Repository allows users to have the Event File roll over periodically based on the value of the "nifi.provenance.repository.rollover.time" property. However, this property is ignored in the WriteAheadProvenanceRepository.

      As a result, the repository may write to the same event file for months. This can be problematic for two reasons:

      1) the Event Time Offset could eventually overflow after Integer.MAX_VALUE milliseconds have elapsed.

      2) Events that are expected to be aged off after, say 24 hours, may be kept around much longer if not much data is written to the Provenance repository.

      Attachments

        Issue Links

          Activity

            People

              markap14 Mark Payne
              markap14 Mark Payne
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m