You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (JIRA)" <ji...@apache.org> on 2011/04/28 13:27:03 UTC

[jira] [Created] (QPID-3231) timeout period used during synchronous 0-8/0-9 operations may begin before transmission of the operation occurs

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:dev-subscribe@qpid.apache.org


[jira] [Closed] (QPID-3231) timeout period used during synchronous 0-8/0-9 operations may begin before transmission of the operation occurs

Posted by "Andrew MacBean (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew MacBean closed QPID-3231.
--------------------------------

    Resolution: Not A Problem

Since the removal of MINA this is no longer an issue.

Raised new JIRA for removal of now unused system property: QPID-3511
                
> 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.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.11
>            Reporter: Robbie Gemmell
>             Fix For: 0.13
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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:dev-subscribe@qpid.apache.org


[jira] [Updated] (QPID-3231) timeout period used during synchronous 0-8/0-9 operations may begin before transmission of the operation occurs

Posted by "Robbie Gemmell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-3231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell updated QPID-3231:
---------------------------------

    Affects Version/s: 0.11
        Fix Version/s:     (was: 0.11)
                       0.13

> 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.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.11
>            Reporter: Robbie Gemmell
>             Fix For: 0.13
>
>
> 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:dev-subscribe@qpid.apache.org