Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-8727 claimantCount will never decrement to zero
  3. NIFI-8728

archiveCount below zero, all processors with content modified will blocked in "waiting for archive cleanup"

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 1.12.0, 1.13.0, 1.12.1, 1.13.1, 1.13.2
    • None
    • Core Framework
    • None
    • linux
    • Important

    Description

      When I found the issue “claimantCount will never decrement to zero”,I restart the nifi instance and a new issue happened;

      Here is the log:

      2021-06-23 10:33:02,788 INFO [main] o.a.n.c.repository.FileSystemRepository Found unknown file /data/nifi/nifi-1.13.2/content_repository/1/1624415033830-1 (286096 bytes) in File System Repository; archiving file
      2021-06-23 10:33:57,786 DEBUG [Cleanup Archive for default] o.a.n.c.repository.FileSystemRepository Deleted archived ContentClaim with ID 1624415033830-1 from Container default because the archival size was exceeding the max configured size, archiveCount -1

       

      If i config "nifi.content.repository.archive.max.usage.percentage=50%",When the archiveCount is “-1” and disk storage is over 50% ,  all processors with content modified  will blocked in the method "isWaitRequired()" ! 

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            wildq wangliqiang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 96h
                96h
                Remaining:
                Remaining Estimate - 96h
                96h
                Logged:
                Time Spent - Not Specified
                Not Specified