RaigorJiang commented on a change in pull request #13943:
URL: https://github.com/apache/shardingsphere/pull/13943#discussion_r765387670
##########
File path:
docs/document/content/user-manual/shardingsphere-jdbc/builtin-algorithm/load-balance.cn.md
##########
@@ -14,3 +14,15 @@ weight = 4
类型:RANDOM
可配置属性:无
+
+## 权重访问算法
+
+类型:WEIGHT
+
+可配置属性:
+
+> 使用中的读库都必须配置权重
+
+| *属性名称* | *数据类型* | *说明*
|
+| ------------------------------ | ---------- |
---------------------------------------------- |
+| \- <read-data_source-name> (+) | double | 属性名字使用读库名字,参数填写读库对应的权重值 |
Review comment:
Thank you!
I have a question, what should be the sum of all weight values, is there a
limit to this? Need to be stated in the documentation?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]