[
https://issues.apache.org/jira/browse/QPID-8322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16866378#comment-16866378
]
ASF subversion and git services commented on QPID-8322:
-------------------------------------------------------
Commit abfc3f13ad1071db515faa182874e3b8e596e933 in qpid-broker-j's branch
refs/heads/7.1.x from Alex Rudyy
[ https://gitbox.apache.org/repos/asf?p=qpid-broker-j.git;h=abfc3f1 ]
QPID-8322: [Broker-J] Fix credit restoration in window credit manager when
infinite credit limit is used
(cherry picked from commit e9f02b361a0edbd27cdf37162ed304df281d9da7)
> [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: [email protected]
For additional commands, e-mail: [email protected]