You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Pavel Moravec (JIRA)" <ji...@apache.org> on 2013/01/25 10:55:12 UTC

[jira] [Updated] (QPID-4549) Java client ignores retry parameters for the very first broker

     [ https://issues.apache.org/jira/browse/QPID-4549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Moravec updated QPID-4549:
--------------------------------

    Attachment: QPID-4549_retry-attempts-of-first-broker.patch

Patch evident from JIRA description.
                
> Java client ignores retry parameters for the very first broker
> --------------------------------------------------------------
>
>                 Key: QPID-4549
>                 URL: https://issues.apache.org/jira/browse/QPID-4549
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.18
>            Reporter: Pavel Moravec
>            Priority: Minor
>              Labels: patch
>         Attachments: QPID-4549_retry-attempts-of-first-broker.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Two similar bugs found I decided to log as one JIRA, posting common patch for them.
> 1) retries parameter is ignored for the first broker in brokerlist when the client connects for the first time to it. In next cycle over the brokers, the parameter is applied properly to the same broker.
> Root cause of the bug: Constructor of FailoverRoundRobinServers class misses calling setBroker method that sets up variables like _serverRetries.
> 2) connectdelay parameter is _everytime_ ignored for the very first broker in brokerlist (regardless of the client cycled over the brokers in list or not).
> Root cause: doDelay variable that directly causes the connectdelay parameter ignored for first broker is present (was that by some purpose? I do not see any reason for it..)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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