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: [email protected]
For additional commands, e-mail: [email protected]