You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "liubao (JIRA)" <ji...@apache.org> on 2018/04/13 09:50:00 UTC

[jira] [Created] (SCB-488) Retry/Metrics some default behavior cause unnecessary retry and logs

liubao created SCB-488:
--------------------------

             Summary: Retry/Metrics some default behavior cause unnecessary retry and logs
                 Key: SCB-488
                 URL: https://issues.apache.org/jira/browse/SCB-488
             Project: Apache ServiceComb
          Issue Type: Improvement
            Reporter: liubao
            Assignee: liubao


Retries :
|功能|所属模块|当前缺省错误条件判断|下一个版本优化|定制方法|下一个版本优化|功能说明|
|实例隔离|loadbalance|所有的错误,包括HTTP服务器500错误、不可达、超时等都纳入计数|1. InvocationException并且status code=490/590
 2. InvocationException以外的异常
 2.3.14+|无|待定|发往一个实例的请求如果失败超过一定次数,暂时给它隔离起来|
|调用重试|loadbalance|1. 重试本服务实例:ConnectException、SocketTimeoutException
 2. 重试另一个实例:所有的错误,包括参数检验错误|1. 重试本服务实例:ConnectException、SocketTimeoutException
 2. 重试另一个实例:同上
 2.3.14+|参考:https://github.com/apache/incubator-servicecomb-java-chassis/blob/master/demo/demo-jaxrs/jaxrs-client/src/main/java/org/apache/servicecomb/demo/jaxrs/client/CustomLoadbalanceExtensionsFactory.java|无|发往一个实例的请求失败,可以继续往这个实例,或者换一个实例发送请求|
|服务隔离|bizkeeper|1. InvocationException并且status code=490/590
 2. InvocationException以外的异常|待定|无|无|调用一个服务的接口失败超过一定次数,那么后续对这个接口的请求全部隔离起来|

 

metrics:

1. default print too many logs. change the default behavior to not print and cycle to 30 seconds.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)