You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by ke...@apache.org on 2019/03/07 10:09:19 UTC

[incubator-dubbo-website] branch asf-site updated: add retries description (#318)

This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 652eda6  add retries description (#318)
652eda6 is described below

commit 652eda6bfeee740c1d8ae39ac5ab345172655c73
Author: LiZhen <Li...@users.noreply.github.com>
AuthorDate: Thu Mar 7 18:09:14 2019 +0800

    add retries description (#318)
---
 docs/en-us/user/references/xml/dubbo-consumer.md | 2 +-
 docs/zh-cn/user/references/xml/dubbo-consumer.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/en-us/user/references/xml/dubbo-consumer.md b/docs/en-us/user/references/xml/dubbo-consumer.md
index afaa566..e223ed5 100644
--- a/docs/en-us/user/references/xml/dubbo-consumer.md
+++ b/docs/en-us/user/references/xml/dubbo-consumer.md
@@ -49,7 +49,7 @@ Consumer default configuration. The corresponding clas: `org.apache.dubbo.conf
 | Property | Corresponding URL parameter | Type | Requisite | Default | Effect | Description | Compatibility |
 | --- | --- | ---- | --- | --- | --- | --- | --- |
 | timeout | default.timeout | int | N | 1000 | performance optimization | invoking timeout(ms) | above 1.0.16 |
-| retries | default.retries | int | N | 2 | performance optimization | Invoking retry times, exclude the first invoking. Set 0 to disable it | above 1.0.16 |
+| retries | default.retries | int | N | 2 | performance optimization | Invoking retry times, exclude the first invoking. Set 0 to disable it.Only valid if the cluster's value is failback/failover | above 1.0.16 |
 | loadbalance | default.loadbalance | string | N | random | performance optimization | Load balancing strategy. Choices:random, roundrobin(polling), leastactive(invoking least active service) | above 1.0.16 |
 | async | default.async | boolean | N | false | performance optimization | Whether invoke asynchronously | above 2.0.0 |
 | connections | default.connections | int | N | 100 | performance optimization | The maximum number of connections of per service provider. Only short link protocol such as rmi,http,hessian etc. supports. Long link protocol such as dubbo doesn't support | above 1.0.16 |
diff --git a/docs/zh-cn/user/references/xml/dubbo-consumer.md b/docs/zh-cn/user/references/xml/dubbo-consumer.md
index 929e1a6..3955964 100644
--- a/docs/zh-cn/user/references/xml/dubbo-consumer.md
+++ b/docs/zh-cn/user/references/xml/dubbo-consumer.md
@@ -49,7 +49,7 @@ table tr:hover {
 | 属性 | 对应URL参数 | 类型 | 是否必填 | 缺省值 | 作用 | 描述 | 兼容性 |
 | --- | --- | ---- | --- | --- | --- | --- | --- |
 | timeout | default.timeout | int | 可选 | 1000 | 性能调优 | 远程服务调用超时时间(毫秒) | 1.0.16以上版本 |
-| retries | default.retries | int | 可选 | 2 | 性能调优 | 远程服务调用重试次数,不包括第一次调用,不需要重试请设为0 | 1.0.16以上版本 |
+| retries | default.retries | int | 可选 | 2 | 性能调优 | 远程服务调用重试次数,不包括第一次调用,不需要重试请设为0,仅在cluster为failback/failover时有效 | 1.0.16以上版本 |
 | loadbalance | default.loadbalance | string | 可选 | random | 性能调优 | 负载均衡策略,可选值:random,roundrobin,leastactive,分别表示:随机,轮询,最少活跃调用 | 1.0.16以上版本 |
 | async | default.async | boolean | 可选 | false | 性能调优 | 是否缺省异步执行,不可靠异步,只是忽略返回值,不阻塞执行线程 | 2.0.0以上版本 |
 | connections | default.connections | int | 可选 | 100 | 性能调优 | 每个服务对每个提供者的最大连接数,rmi、http、hessian等短连接协议支持此配置,dubbo协议长连接不支持此配置 | 1.0.16以上版本 |