I have implemented wait and notify in a single flow.
if there are 100 flow file passing to wait processor and waiting for notify to complete.
Notify got only 99 files and updated the cache will all 99.
Due to this 1 missing notify other flowfiles are getting stuck in the flow.
current sithuation :
Notify : all 99 notified and moved to sucess.
Wait only 40 passed and rest 60(this include the 1 missing flowfile) are in wait loop.