Github user viazovskyi commented on the issue:
https://github.com/apache/nifi/pull/2657
@joewitt not sure what is another problem you're talking about, the
original [issue](https://issues.apache.org/jira/browse/NIFI-5109) is about
onTrigger method never goes further line 377 and stops calling performListing
after reelection of primary happened and same node became the primary again,
that's why I reset the flag and it makes sense to me, because the election
finished and further logic should only depend on another 2 fields
lastListedLatestEntryTimestampMillis, lastProcessedLatestEntryTimestampMillis
which are initialized from the state manager. But if performListing is not
calling anymore then no any updates for the state and these 2 fields keep the
same values. huh, hope it shows the issue in details :) @joewitt what is
another issue?
---