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

ListS3 minimum object age filter not observed when entity state tracking is used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.24.0, 2.0.0-M2
    • 1.25.0, 2.0.0-M2
    • Extensions
    • None
    • Docker, on-prem S3

    Description

      When ListS3 is configured to use the Tracking Entities listing strategy, the following is observed:

      1. Configure ListS3 with a Minimum Object Age of 1 hour. Ensure processor is stopped.
      2. Create a new FlowFile with GenerateFlowFile and run once
      3. Put the FlowFile to an S3 bucket with PutS3
      4. Open ListS3 configuration
      5. Click Verify. UI reports: Successfully listed contents of bucket <bucket name>, finding 0 objects matching the filter.
      6. Run ListS3 once. Flowfile is retrieved, even though the 1 hour interval has not yet elapsed.

      The issue is the ListS3 Minimum Object Age property is not being observed when using the Tracking Entities listing strategy. When using Tracking Timestamps, the processor behaves as expected.

      Attachments

        Issue Links

          Activity

            People

              p-kimberley Peter Kimberley
              p-kimberley Peter Kimberley
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 1h 20m
                  1h 20m