Geoff Greene created NIFI-14512:
-----------------------------------

             Summary: Multithreading issue in notify
                 Key: NIFI-14512
                 URL: https://issues.apache.org/jira/browse/NIFI-14512
             Project: Apache NiFi
          Issue Type: Bug
    Affects Versions: 1.28.1
            Reporter: Geoff Greene
         Attachments: Geoff.json

I have verified this in 1.28.1.  I have not tested or verified it in any other 
version. 

 

See the attached flow.

Setup:

1) Run the generate til there are 10,000 flow files, then run UpdateAttribute

2) Run the wait til all 10,000 flow files are waiting (on TWO signals)

3) NOW run the Notify.  It should send two signals (one for each flow file).    
All the waits should then release.  They do not. Only a few do, and the number 
is variable. Note that the Notify is set to 5 threads.  IF you set the notify  
back to ONE thread, all the notifies work fine, and all the waits release.  
Instead, with 5 notifies, they will expire after one hour.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to