You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/05/30 02:55:54 UTC

[GitHub] [shardingsphere] 726411951 opened a new issue, #18055: The 5.1.1 document is not ture about sharding rules

726411951 opened a new issue, #18055:
URL: https://github.com/apache/shardingsphere/issues/18055

   ## Bug Report
   
   **For English only**, other languages will not accept.
   
   Before report a bug, make sure you have:
   
   - Searched open and closed [GitHub issues](https://github.com/apache/shardingsphere/issues).
   - Read documentation: [ShardingSphere Doc](https://shardingsphere.apache.org/document/current/en/overview).
   
   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
   configure sharding-jdbc properties
   ### Actual behavior
   
   ### Reason analyze (If you can)
   the document is not update 
   ### 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).
   
   ![image](https://user-images.githubusercontent.com/32379580/170907416-48462e4e-bc87-409b-9859-13da8e73e42a.png)
   
   I use this document configuration,but it is not work.
   So I check the source code from example and find it likes 
   ![image](https://user-images.githubusercontent.com/32379580/170908604-e0c14544-325d-456d-900a-c63cf72f424a.png)
   
   Is the document need to be update?
   the source code link [application-sharding-databases.properties](https://github.com/apache/shardingsphere/blob/master/examples/shardingsphere-jdbc-example/single-feature-example/sharding-example/sharding-spring-boot-jpa-example/src/main/resources/application-sharding-databases.properties)


-- 
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] 726411951 commented on issue #18055: The 5.1.1 document is not ture about sharding rules

Posted by GitBox <gi...@apache.org>.
726411951 commented on issue #18055:
URL: https://github.com/apache/shardingsphere/issues/18055#issuecomment-1141710412

   
   
   
   > @726411951 Hi, thank you for your feedback, i think it's no problem. Because, it may be `standard` or `complex` or `hint`.
   @zjcnb But the key differences between `spring.shardingsphere.sharding.database-strategy` and `spring.shardingsphere.rules.sharding.database-strategy` is `.rules`  and I think it's necessary to run with 5.1.1 version 
   the document is missing `.rules`
   


-- 
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


[GitHub] [shardingsphere] RaigorJiang commented on issue #18055: The 5.1.1 document is not ture about sharding rules

Posted by GitBox <gi...@apache.org>.
RaigorJiang commented on issue #18055:
URL: https://github.com/apache/shardingsphere/issues/18055#issuecomment-1166777338

   @726411951 
   We just need to update the markdown file in https://github.com/apache/shardingsphere/tree/master/docs and `shardingsphere-doc` will automatically build the new content.


-- 
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


[GitHub] [shardingsphere] 726411951 commented on issue #18055: The 5.1.1 document is not ture about sharding rules

Posted by GitBox <gi...@apache.org>.
726411951 commented on issue #18055:
URL: https://github.com/apache/shardingsphere/issues/18055#issuecomment-1166779754

   @RaigorJiang  Fine,I will update it soon.


-- 
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


[GitHub] [shardingsphere] 726411951 commented on issue #18055: The 5.1.1 document is not ture about sharding rules

Posted by GitBox <gi...@apache.org>.
726411951 commented on issue #18055:
URL: https://github.com/apache/shardingsphere/issues/18055#issuecomment-1166752788

   @RaigorJiang  Hi,I think the repository of the website is [shardingsphere-doc](https://github.com/apache/shardingsphere-doc)  ,so should I commit in this repository and close this issue?


-- 
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


[GitHub] [shardingsphere] zjcnb commented on issue #18055: The 5.1.1 document is not ture about sharding rules

Posted by GitBox <gi...@apache.org>.
zjcnb commented on issue #18055:
URL: https://github.com/apache/shardingsphere/issues/18055#issuecomment-1143155161

   > @zjcnb But the key differences between `spring.shardingsphere.sharding.database-strategy` and `spring.shardingsphere.rules.sharding.database-strategy` is `.rules` and I think it's necessary to run with 5.1.1 version the document is missing `.rules`
   
   Yeah, you are right. Can you submit a pull request to fix it?


-- 
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


[GitHub] [shardingsphere] 726411951 commented on issue #18055: The 5.1.1 document is not ture about sharding rules

Posted by GitBox <gi...@apache.org>.
726411951 commented on issue #18055:
URL: https://github.com/apache/shardingsphere/issues/18055#issuecomment-1143252089

   @zjcnb fine,I will do it


-- 
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


[GitHub] [shardingsphere] RaigorJiang commented on issue #18055: The 5.1.1 document is not ture about sharding rules

Posted by GitBox <gi...@apache.org>.
RaigorJiang commented on issue #18055:
URL: https://github.com/apache/shardingsphere/issues/18055#issuecomment-1166199602

   Hi @726411951  any update? 


-- 
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


[GitHub] [shardingsphere] zjcnb commented on issue #18055: The 5.1.1 document is not ture about sharding rules

Posted by GitBox <gi...@apache.org>.
zjcnb commented on issue #18055:
URL: https://github.com/apache/shardingsphere/issues/18055#issuecomment-1141701688

   @726411951 Hi, thank you for your feedback, i think it's no problem. Because, it may be `standard` or `complex` or `hint`.


-- 
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


[GitHub] [shardingsphere] terrymanu closed issue #18055: The 5.1.1 document is not ture about sharding rules

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #18055: The 5.1.1 document is not ture about sharding rules
URL: https://github.com/apache/shardingsphere/issues/18055


-- 
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