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 2021/11/20 01:55:36 UTC

[GitHub] [shardingsphere] Zhai6319 opened a new issue #13710: I don't quite understand the mode concept of spring.shardingsphere.mode configuration.

Zhai6319 opened a new issue #13710:
URL: https://github.com/apache/shardingsphere/issues/13710


   ## Question
   
   **For English only**, other languages will not accept.
   
   Before asking a question, make sure you have:
   
   - Googled your question.
   - Searched open and closed [GitHub issues](https://github.com/apache/shardingsphere/issues).
   - Read documentation: [ShardingSphere Doc](https://shardingsphere.apache.org/document/current/en/overview).
   
   
   I don't quite understand the mode concept of spring.shardingsphere.mode configuration. If the online is distributed, must this be configured as cluster? If not configured, what will be the impact? In our project, only split tables and data desensitization are used. If it must be configured, can Nacos be used as the warehouse type?


-- 
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 #13710: I don't quite understand the mode concept of spring.shardingsphere.mode configuration.

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


   @Zhai6319 Hi, you can look this. https://shardingsphere.apache.org/document/5.0.0/en/concepts/mode/


-- 
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] roodkcab commented on issue #13710: I don't quite understand the mode concept of spring.shardingsphere.mode configuration.

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


   >If the online is distributed, must this be configured as cluster? 
   yes it must be.
   
   >If not configured, what will be the impact? 
   table metadata, i.e. structure/index is stored in etcd or anyother repositories configured in server.xml when mode is cluster. when add / drop column of a table, metadata should be refreshed, or you will get wrong metadata when execute PrepareStatement.
   
   >can Nacos be used as the warehouse type?
   Nacos is supported by shardingsphere
   
   


-- 
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] roodkcab edited a comment on issue #13710: I don't quite understand the mode concept of spring.shardingsphere.mode configuration.

Posted by GitBox <gi...@apache.org>.
roodkcab edited a comment on issue #13710:
URL: https://github.com/apache/shardingsphere/issues/13710#issuecomment-974752221


   >If the online is distributed, must this be configured as cluster? 
   
   yes it must be.
   
   >If not configured, what will be the impact? 
   
   table metadata, i.e. structure/index is stored in etcd or anyother repositories configured in server.xml when mode is cluster. when add / drop column of a table, metadata should be refreshed, or you will get wrong metadata when execute PrepareStatement.
   
   >can Nacos be used as the warehouse type?
   
   Nacos is supported by shardingsphere
   
   


-- 
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 #13710: I don't quite understand the mode concept of spring.shardingsphere.mode configuration.

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


   @Zhai6319 Hi, you can look this. https://shardingsphere.apache.org/document/5.0.0/en/concepts/mode/


-- 
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] Zhai6319 closed issue #13710: I don't quite understand the mode concept of spring.shardingsphere.mode configuration.

Posted by GitBox <gi...@apache.org>.
Zhai6319 closed issue #13710:
URL: https://github.com/apache/shardingsphere/issues/13710


   


-- 
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] roodkcab edited a comment on issue #13710: I don't quite understand the mode concept of spring.shardingsphere.mode configuration.

Posted by GitBox <gi...@apache.org>.
roodkcab edited a comment on issue #13710:
URL: https://github.com/apache/shardingsphere/issues/13710#issuecomment-974752221


   >If the online is distributed, must this be configured as cluster? 
   
   yes it must be.
   
   >If not configured, what will be the impact? 
   
   table metadata, i.e. structure/index is stored in etcd or anyother repositories configured in server.xml when mode is cluster. when add / drop column of a table, metadata should be refreshed, or you will get wrong metadata when execute PrepareStatement.
   
   >can Nacos be used as the warehouse type?
   
   Nacos is supported by shardingsphere
   
   


-- 
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] roodkcab commented on issue #13710: I don't quite understand the mode concept of spring.shardingsphere.mode configuration.

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


   >If the online is distributed, must this be configured as cluster? 
   yes it must be.
   
   >If not configured, what will be the impact? 
   table metadata, i.e. structure/index is stored in etcd or anyother repositories configured in server.xml when mode is cluster. when add / drop column of a table, metadata should be refreshed, or you will get wrong metadata when execute PrepareStatement.
   
   >can Nacos be used as the warehouse type?
   Nacos is supported by shardingsphere
   
   


-- 
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] Zhai6319 commented on issue #13710: I don't quite understand the mode concept of spring.shardingsphere.mode configuration.

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


   @roodkcab Thank you for your answer, but there is no detailed configuration explanation about Nacos on the official website


-- 
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] TeslaCN commented on issue #13710: I don't quite understand the mode concept of spring.shardingsphere.mode configuration.

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


   > @roodkcab Thank you for your answer, but there is no detailed configuration explanation about Nacos on the official website
   
   Hi @Zhai6319 
   The Nacos is supported in ShardingSphere 4.x and is no longer supported since 5.0.


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