Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.6.0
-
None
Description
Testing the Qpid JMS Client together with the Java Broker + Perftest framework reveals a problem. Message flow to one or more consumers sometimes ceases unexpectedly.
In the failure case, the Java Broker reports that the consumer has been is suspended (SUB-1003 messages) for an extended period, even though there are messages remaining on the queue. Investigation of a heap dump reveals that the last flow frame to be received from the client:
- deliveryCount value which matched the deliveries sent by the Broker.
- linkCredit zero
- drain true.
The Broker thus believes no more credit remains and suspends the consumer.
0.6.0 is affected. 0.7.0-SNAPSHOT is too. Rolling back to client 0.5.0 resolves the problem, as does setting jms.receiveLocalOnly in the connection url with 0.6.0 or the 0.7.0 SNAPSHOT.
There are more details on regard the reproduction on QPID-6863. Problem would not manifest with debug logging turned on.
Attachments
Issue Links
- depends upon
-
PROTON-1077 receiver link and transport view of credit can become disjoint when sending link sends flow frames
- Closed
-
QPIDJMS-145 update proton-j dependency to 0.11.1
- Closed