You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "xybert (via GitHub)" <gi...@apache.org> on 2023/02/16 07:42:50 UTC
[GitHub] [shardingsphere] xybert opened a new issue, #24191: Content error in Shadow algorithm configuration
xybert opened a new issue, #24191:
URL: https://github.com/apache/shardingsphere/issues/24191
## Bug Report
In the YAML Configuration of the User Manual, the shadow algorithm configuration([link](https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/yaml-config/algorithm/#shadow-db)) is wrong, loadBalancers should be changed to shadowAlgorithms.
The Chinese document also has the same error.
### Which version of ShardingSphere did you use?
Latest
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-JDBC
### Expected behavior
```yaml
shadowAlgorithms:
# shadowAlgorithmName is specified by users, and its property has to be consistent with that of shadowAlgorithmNames in shadow DB rules.
<shadowAlgorithmName>:
# type and props, please refer to the built-in shadow DB algorithm: https://shardingsphere.apache.org/document/current/en/user-manual/common-config/builtin-algorithm/shadow/
type: xxx
props:
xxx: xxx
```
### Actual behavior

```yaml
loadBalancers:
# shadowAlgorithmName is specified by users, and its property has to be consistent with that of shadowAlgorithmNames in shadow DB rules.
<shadowAlgorithmName>:
# type and props, please refer to the built-in shadow DB algorithm: https://shardingsphere.apache.org/document/current/en/user-manual/common-config/builtin-algorithm/shadow/
type: xxx
props:
xxx: xxx
```
### Reason analyze (If you can)
Typing error
### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
Check out : [link](https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/yaml-config/algorithm/#shadow-db)
--
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: notifications-unsubscribe@shardingsphere.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] zhaojinchao95 closed issue #24191: Content error in Shadow algorithm configuration Document
Posted by "zhaojinchao95 (via GitHub)" <gi...@apache.org>.
zhaojinchao95 closed issue #24191: Content error in Shadow algorithm configuration Document
URL: https://github.com/apache/shardingsphere/issues/24191
--
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: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org