membphis commented on a change in pull request #1023: doc: update doc for 
retries option in the upstream object.
URL: https://github.com/apache/incubator-apisix/pull/1023#discussion_r363149518
 
 

 ##########
 File path: doc/architecture-design-cn.md
 ##########
 @@ -239,7 +239,7 @@ APISIX 的 Upstream 除了基本的复杂均衡算法选择外,还支持对上
 |nodes           |必需|哈希表,内部元素的 key 是上游机器地址列表,格式为`地址 + Port`,其中地址部分可以是 IP 
也可以是域名,比如 `192.168.1.100:80`、`foo.com:80`等。value 则是节点的权重,特别的,当权重值为 `0` 
有特殊含义,通常代表该上游节点失效,永远不希望被选中。|
 |key             |必需|该选项只有类型是 `chash` 才有效。根据 `key` 来查找对应的 node `id`,相同的 `key` 
在同一个对象中,永远返回相同 id,目前支持的 Nginx 内置变量有 `uri, server_name, server_addr, 
request_uri, remote_port, remote_addr, query_string, host, hostname, 
arg_***`,其中 `arg_***` 是来自URL的请求参数,[Nginx 
变量列表](http://nginx.org/en/docs/varindex.html)|
 |checks          |可选|配置健康检查的参数,详细可参考[health-check](health-check.md)|
-|retries         |可选|使用底层的 Nginx 重试机制将请求传递给下一个上游,默认不启用重试机制|
+|retries         |可选|使用底层的 Nginx 
重试机制将请求传递给下一个上游,默认APISIX会启用重试机制,根据配置的后端节点个数设置重试次数,如果此参数显式被设置将会覆盖系统默认设置的重试次数。|
 
 Review comment:
   It is best to add a space between Chinese and English.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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


With regards,
Apache Git Services

Reply via email to