You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Truong Duc Kien (Jira)" <ji...@apache.org> on 2020/03/06 10:05:00 UTC

[jira] [Commented] (NIFI-5864) Incorrect size calculation when draining SwappablePriorityQueue

    [ https://issues.apache.org/jira/browse/NIFI-5864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17053240#comment-17053240 ] 

Truong Duc Kien commented on NIFI-5864:
---------------------------------------

This is still happening on master, is this a valid bug or am I misunderstanding this code ? Any comments,  [~markap14] ?

> Incorrect size calculation when draining SwappablePriorityQueue
> ---------------------------------------------------------------
>
>                 Key: NIFI-5864
>                 URL: https://issues.apache.org/jira/browse/NIFI-5864
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.8.0, 1.11.3
>            Reporter: Truong Duc Kien
>            Priority: Major
>
> The result of the method `drainQueue` does not include the size of the last expired record if the total number of expired records is larger or equal to {{MAX_EXPIRED_RECORDS_PER_ITERATION}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)