You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2023/03/01 01:50:51 UTC
[shardingsphere] branch master updated: Update algorithm.cn.md (#24195)
This is an automated email from the ASF dual-hosted git repository.
zhaojinchao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new a719d659fbd Update algorithm.cn.md (#24195)
a719d659fbd is described below
commit a719d659fbd49672929149a32bdecb432e443370
Author: Arrebol <44...@users.noreply.github.com>
AuthorDate: Wed Mar 1 09:50:42 2023 +0800
Update algorithm.cn.md (#24195)
The configuration of shadow algorithms is wrong, loadBalancers should be changed to shadowAlgorithms.
---
.../content/user-manual/shardingsphere-jdbc/yaml-config/algorithm.cn.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/algorithm.cn.md b/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/algorithm.cn.md
index 622b8cb7022..d2811223bf9 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/algorithm.cn.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/algorithm.cn.md
@@ -42,7 +42,7 @@ loadBalancers:
## 影子算法
```yaml
-loadBalancers:
+shadowAlgorithms:
# shadowAlgorithmName 由用户指定,需要和影子库规则中的 shadowAlgorithmNames 属性一致
<shadowAlgorithmName>:
# type 和 props,请参考影子库内置算法:https://shardingsphere.apache.org/document/current/cn/user-manual/common-config/builtin-algorithm/shadow/