timeout period used during synchronous 0-8/0-9 operations may begin before
transmission of the operation occurs
---------------------------------------------------------------------------------------------------------------
Key: QPID-3231
URL: https://issues.apache.org/jira/browse/QPID-3231
Project: Qpid
Issue Type: Bug
Components: Java Client
Affects Versions: 0.8, 0.7, 0.6, 0.5, 0.9, 0.10
Reporter: Robbie Gemmell
Fix For: 0.11
The timeout period used during synchronous 0-8/0-9 operations may begin before
transmission of the operation actually occurs.
If a large amount of data is sent (asynchronously) before a synchronous
operation is performed (e.g session commit) then this data may still be in the
effectively unbounded network buffers and delay transmission of the frames for
the synchronous operation. However, the timer used to indicate timeout of the
synchronous operation begins as soon as the asynchronous send operation for it
returns, and so could also include time spent transmitting the previous data
asynchronously. This would mean that the synchronous operation is timed out
prematurely, and may later succeed once the command is actually placed on the
wire.
We should ensure that the send method only returns once the data is actually on
the wire when it used for synchronous operations with timeouts.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]