[
https://issues.apache.org/jira/browse/NIFI-8744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard resolved NIFI-8744.
----------------------------------
Resolution: Feedback Received
Apache NiFi 1.x is no longer maintained and no new release is planned on the
1.x release line. Marking as resolved as part of a cleanup operation. Please
open a new one with an updated description if this is still relevant for NiFi
2.x.
> FlowFile queue Prioritizers will not work when queued count exceeds
> nifi.queue.swap.threshold
> ---------------------------------------------------------------------------------------------
>
> Key: NIFI-8744
> URL: https://issues.apache.org/jira/browse/NIFI-8744
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.6.0, 1.13.2
> Reporter: super dachuan
> Priority: Major
>
> There are some FlowFiles in a queue, and the "priority" attribute of each
> FlowFile is "9". PriorityAttributePrioritizer is set to the queue.
> When the number of FlowFiles in the queue does not exceed the value of
> "nifi.queue.swap.threshold", and a new FlowFile with attribute "priority"
> value "1" transfered into the queue, it will be ranked at first of the queue;
> But when the number of FlowFiles exceeds the threshold, another FlowFile with
> the attribute "priority" value "1" into the queue cannot be ranked at first.
> This FlowFile may be directly swapped to disk, so the prioritizer is not
> working.
> Reproduced on 1.6.0 and the newest release 1.13.2, may exist in all versions
--
This message was sent by Atlassian Jira
(v8.20.10#820010)