You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please pay attention on issues you submitted, because we maybe need more details.
If no response anymore and we cannot reproduce it on current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Which version of ShardingSphere did you use?
5.1.1
Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-JDBC
Expected behavior
when I run org.apache.shardingsphere.example.shadow.raw.jdbc.ShadowRawJavaConfigurationExample example,choose private static ShardingType shardingType = ShardingType.SHADOW_DEFAULT_ALGORITHM;
Actual behavior
it shows:
Reason analyze (If you can)
I found when we set defaultShadowAlgorithmName simple-note-algorithm in method of createShadowRuleConfiguration (from line #51 in org.apache.shardingsphere.example.shadow.raw.jdbc.config.ShadowDefaultAlgorithmConfiguration )
but in method of createShadowAlgorithmConfigurations we put simple-hint-algorithm,so I think who spell mistake.
I try to modify set defaultShadowAlgorithmName simple-hit-algorithm in method of createShadowRuleConfiguration,then it works.
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
Example codes for reproduce this issue (such as a github link).
The text was updated successfully, but these errors were encountered:
Bug Report
For English only, other languages will not accept.
Before report a bug, make sure you have:
Please pay attention on issues you submitted, because we maybe need more details.
If no response anymore and we cannot reproduce it on current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Which version of ShardingSphere did you use?
5.1.1
Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-JDBC
Expected behavior
when I run org.apache.shardingsphere.example.shadow.raw.jdbc.ShadowRawJavaConfigurationExample example,choose
private static ShardingType shardingType = ShardingType.SHADOW_DEFAULT_ALGORITHM;
Actual behavior
it shows:
Reason analyze (If you can)
I found when we set defaultShadowAlgorithmName
simple-note-algorithm
in method ofcreateShadowRuleConfiguration
(from line #51 inorg.apache.shardingsphere.example.shadow.raw.jdbc.config.ShadowDefaultAlgorithmConfiguration
)but in method of
createShadowAlgorithmConfigurations
we putsimple-hint-algorithm
,so I think who spell mistake.I try to modify set defaultShadowAlgorithmName
simple-hit-algorithm
in method ofcreateShadowRuleConfiguration
,then it works.Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
Example codes for reproduce this issue (such as a github link).
The text was updated successfully, but these errors were encountered: