You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/06/15 10:22:00 UTC

[jira] [Commented] (QPID-8322) [Broker-J] Error about negative credit used value is reported into broker logs

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

ASF subversion and git services commented on QPID-8322:
-------------------------------------------------------

Commit e9f02b361a0edbd27cdf37162ed304df281d9da7 in qpid-broker-j's branch refs/heads/master from Alex Rudyy
[ https://gitbox.apache.org/repos/asf?p=qpid-broker-j.git;h=e9f02b3 ]

QPID-8322: [Broker-J] Fix credit restoration in window credit manager when infinite credit limit is used


> [Broker-J] Error about negative credit used value is reported into broker logs
> ------------------------------------------------------------------------------
>
>                 Key: QPID-8322
>                 URL: https://issues.apache.org/jira/browse/QPID-8322
>             Project: Qpid
>          Issue Type: Bug
>          Components: Broker-J
>    Affects Versions: qpid-java-broker-7.0.7, qpid-java-broker-7.1.3
>            Reporter: Alex Rudyy
>            Priority: Minor
>             Fix For: qpid-java-broker-7.0.8, qpid-java-broker-7.1.4
>
>
> When client credit for bytes or/and messages is set to "infinite credit",  the invocation of {{WindowCreditManager#restoreCredit}}  always tries to deduct used values for bytes or/and messages, whilst the used values are not increased on invocation of {{WindowCreditManager#useCreditForMessage}}. As result, this leads to the following error reported into broker logs: 
> {noformat}
> ERROR [IO-/127.0.0.1:45904] (o.a.q.s.p.v.WindowCreditManager) - Bytes credit used value was negative: -5742
> {noformat}
> The reported "error" is completely harmless and can be ignored.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org