You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Jason Walton (JIRA)" <ji...@apache.org> on 2008/09/11 22:19:44 UTC

[jira] Created: (SYNAPSE-445) LB endpoints can retry forever.

LB endpoints can retry forever.
-------------------------------

                 Key: SYNAPSE-445
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-445
             Project: Synapse
          Issue Type: Bug
          Components: Endpoints
    Affects Versions: 1.1, 1.1.1, 1.2, 1.3
            Reporter: Jason Walton
            Priority: Minor


If a message to a SALoadBalanceEndpoint encounters an error, the SALoadBalanceEndpoint.onChildEndpointFail method will try to resend the message so long as another endpoint is active.  If, however, the suspendDurationOnFailure for an endpoint is sufficiently short, and all endpoints in the group are failing (say, because the destination endpoints are down), then Synapse will retry the message forever.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (SYNAPSE-445) LB endpoints can retry forever.

Posted by "Asankha C. Perera (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asankha C. Perera resolved SYNAPSE-445.
---------------------------------------

    Resolution: Fixed
      Assignee: Asankha C. Perera

As per Indika's comment - this should be resolved already by SYNAPSE-466

Either way you cannot claim an issue exists in 1.3 since its not yet released :).. 

if you still see an issue in the latest nightly build off [1], feel free to reopen this issue and state the build number from Hudson

[1] http://hudson.zones.apache.org/hudson/job/Synapse%20-%20Trunk/lastStableBuild/

> LB endpoints can retry forever.
> -------------------------------
>
>                 Key: SYNAPSE-445
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-445
>             Project: Synapse
>          Issue Type: Bug
>          Components: Endpoints
>    Affects Versions: 1.1, 1.1.1, 1.2, 1.3
>            Reporter: Jason Walton
>            Assignee: Asankha C. Perera
>            Priority: Minor
>         Attachments: patch.txt
>
>
> If a message to a SALoadBalanceEndpoint encounters an error, the SALoadBalanceEndpoint.onChildEndpointFail method will try to resend the message so long as another endpoint is active.  If, however, the suspendDurationOnFailure for an endpoint is sufficiently short, and all endpoints in the group are failing (say, because the destination endpoints are down), then Synapse will retry the message forever.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (SYNAPSE-445) LB endpoints can retry forever.

Posted by "Charith Dhanushka Wickramarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charith Dhanushka Wickramarachchi updated SYNAPSE-445:
------------------------------------------------------

    Attachment: patch.txt

patch to resolve this issue 

This resolve this issue by making user enable to set the maximum number of consecutive faults  per endpoint.
if this is set and If a given end point in Load balance algorithm failed consecutively to that number it will be assumed as a not working endpoint and will be removed from the algorithm.  

ex:
<loadbalance maxFaults="3">
                        <endpoint>
                            <address uri="http://localhost:9001/services/LBService1">
                                <enableAddressing/>
                                <suspendDurationOnFailure>1</suspendDurationOnFailure>
                            </address>
                        </endpoint>
                        <endpoint>
                            <address uri="http://localhost:9002/services/LBService1">
                                <enableAddressing/>
                                <suspendDurationOnFailure>1</suspendDurationOnFailure>
                            </address>
                        </endpoint>
 </loadbalance> 

> LB endpoints can retry forever.
> -------------------------------
>
>                 Key: SYNAPSE-445
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-445
>             Project: Synapse
>          Issue Type: Bug
>          Components: Endpoints
>    Affects Versions: 1.1, 1.1.1, 1.2, 1.3
>            Reporter: Jason Walton
>            Priority: Minor
>         Attachments: patch.txt
>
>
> If a message to a SALoadBalanceEndpoint encounters an error, the SALoadBalanceEndpoint.onChildEndpointFail method will try to resend the message so long as another endpoint is active.  If, however, the suspendDurationOnFailure for an endpoint is sufficiently short, and all endpoints in the group are failing (say, because the destination endpoints are down), then Synapse will retry the message forever.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (SYNAPSE-445) LB endpoints can retry forever.

Posted by "indika priyantha kumara (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680073#action_12680073 ] 

indika priyantha kumara commented on SYNAPSE-445:
-------------------------------------------------

This may be already solved by https://issues.apache.org/jira/browse/SYNAPSE-466. 

> LB endpoints can retry forever.
> -------------------------------
>
>                 Key: SYNAPSE-445
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-445
>             Project: Synapse
>          Issue Type: Bug
>          Components: Endpoints
>    Affects Versions: 1.1, 1.1.1, 1.2, 1.3
>            Reporter: Jason Walton
>            Priority: Minor
>         Attachments: patch.txt
>
>
> If a message to a SALoadBalanceEndpoint encounters an error, the SALoadBalanceEndpoint.onChildEndpointFail method will try to resend the message so long as another endpoint is active.  If, however, the suspendDurationOnFailure for an endpoint is sufficiently short, and all endpoints in the group are failing (say, because the destination endpoints are down), then Synapse will retry the message forever.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (SYNAPSE-445) LB endpoints can retry forever.

Posted by "Charith Dhanushka Wickramarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677698#action_12677698 ] 

Charith Dhanushka Wickramarachchi commented on SYNAPSE-445:
-----------------------------------------------------------

Hi Jason ,
If its a issue cant we solve it by making user enable to set the maximum no of consecutive failures to tolerate using the configuration.So that it will stop retrying after that.

thank you,
Charith  

> LB endpoints can retry forever.
> -------------------------------
>
>                 Key: SYNAPSE-445
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-445
>             Project: Synapse
>          Issue Type: Bug
>          Components: Endpoints
>    Affects Versions: 1.1, 1.1.1, 1.2, 1.3
>            Reporter: Jason Walton
>            Priority: Minor
>
> If a message to a SALoadBalanceEndpoint encounters an error, the SALoadBalanceEndpoint.onChildEndpointFail method will try to resend the message so long as another endpoint is active.  If, however, the suspendDurationOnFailure for an endpoint is sufficiently short, and all endpoints in the group are failing (say, because the destination endpoints are down), then Synapse will retry the message forever.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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