qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Rudyy (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-7764) [AMQP 0-10] Window credit manager fields bytesUsed and messagesUsed can become negative and reported into logs as errors
Date Mon, 01 May 2017 12:32:04 GMT
Alex Rudyy created QPID-7764:
--------------------------------

             Summary: [AMQP 0-10] Window credit manager fields bytesUsed and messagesUsed
can become negative and reported into logs as errors
                 Key: QPID-7764
                 URL: https://issues.apache.org/jira/browse/QPID-7764
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: 0.32
            Reporter: Alex Rudyy


Window credit manager fields {{bytesUsed}} and {{messagesUsed}} can become negative which
is reported into broker logs using error severity as in example below
{noformat}
ERROR v0_10.WindowCreditManager - Message credit used value was negative -2
{noformat}
It seems that there is no impact of this issue on clients  or broker.

It looks like that it might happen when Broker sends messages to the client and client sends
{{message.set-flow-mode}} before sending {{session.completed}} for the message transfers.
The broker recretes its {{WindowCreditManager}} in response to {{message.set-flow-mode}} and
when {{session.completed}} is received for the previous transfers, method {{WIndowCreditManager#restoreCredit}}
is invoked decrementing fields {{messageUsed}} and {{bytesUsed}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message