GitHub user patricker opened a pull request:
https://github.com/apache/nifi/pull/1000
NIFI-2754
If the Active queue is empty and the number of FlowFiles added to the queue
is perfectly splitable by the current Swap size (100000 Flow Files / 20000
files per swap file = 5 with no remainder), then no FlowFiles will move to
Active and all will remain in Swap.
Apart from NIFI-2754, there was also a style violation in the existing
code, which I fixed.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/patricker/nifi NIFI-2754
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/1000.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1000
----
commit 7bdbcab17873be60f52a56a4cfa9b012c2857ad9
Author: Peter Wicks <[email protected]>
Date: 2016-09-10T04:10:01Z
NIFI-2754
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---