[ 
https://issues.apache.org/jira/browse/SCB-488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16437099#comment-16437099
 ] 

ASF GitHub Bot commented on SCB-488:
------------------------------------

liubao68 opened a new pull request #649: [SCB-488]Retry/Metrics some default 
behavior cause unnecessary retry and logs
URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/649
 
 
   
   
   Follow this checklist to help us incorporate your contribution quickly and 
easily:
   
    - [ ] Make sure there is a [JIRA 
issue](https://issues.apache.org/jira/browse/SCB) filed for the change (usually 
before you start working on it).  Trivial changes like typos do not require a 
JIRA issue.  Your pull request should address just this issue, without pulling 
in other changes.
    - [ ] Each commit in the pull request should have a meaningful subject line 
and body.
    - [ ] Format the pull request title like `[SCB-XXX] Fixes bug in 
ApproximateQuantiles`, where you replace `SCB-XXX` with the appropriate JIRA 
issue.
    - [ ] Write a pull request description that is detailed enough to 
understand what the pull request does, how, and why.
    - [ ] Run `mvn clean install` to make sure basic checks pass. A more 
thorough check will be performed on your pull request automatically.
    - [ ] If this contribution is large, please file an Apache [Individual 
Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
   
   ---
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> 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
>            Priority: Major
>
> 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)

Reply via email to