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/08/27 10:49:06 UTC

[GitHub] [shardingsphere] menghaoranss opened a new issue #12060: SingleTableRule is created in MetaDataContext when Rules and DataSources are both empty for JDBC with cluster mode

menghaoranss opened a new issue #12060:
URL: https://github.com/apache/shardingsphere/issues/12060


   ## Question
   
   Test with spring-namespace:
   
   ```
   <cluster:repository id="clusterRepository" type="TestRegistry" namespace="clusterPersistRepository" server-lists="localhost:3182">
           <props>
               <prop key="max-retries">3</prop>
               <prop key="operation-timeout-milliseconds">1000</prop>
           </props>
       </cluster:repository>
   <shardingsphere:data-source id="emptyConfigurationDataSourceGovernance">
           <shardingsphere:mode type="Cluster" repository-ref="clusterRepository" />
       </shardingsphere:data-source>
   ```
   
   There's nothing in the registry center, when create datasource with  the configuration above,will create a single table rule in MetaDataContext.
   
   <img width="870" alt="image" src="https://user-images.githubusercontent.com/60651792/131116033-e0223a29-0237-4362-801b-ba95fc3946ea.png">
   
   
   


-- 
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] menghaoranss closed issue #12060: SingleTableRule is created in MetaDataContext when Rules and DataSources are both empty for JDBC with cluster mode

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


   


-- 
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] strongduanmu commented on issue #12060: SingleTableRule is created in MetaDataContext when Rules and DataSources are both empty for JDBC with cluster mode

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


   @menghaoranss `SingleTableRule` is a built-in Rule used to provide routing capabilities for `SingleTable`. It does not require configuration and will automatically create and load single tables in the data source.


-- 
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] menghaoranss commented on issue #12060: SingleTableRule is created in MetaDataContext when Rules and DataSources are both empty for JDBC with cluster mode

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


   > @menghaoranss `SingleTableRule` is a built-in Rule used to provide routing capabilities for `SingleTable`. It does not require configuration and will automatically create and load single tables in the data source.
   
   @strongduanmu Thanks for your reply, i can close this issue now.


-- 
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] menghaoranss commented on issue #12060: SingleTableRule is created in MetaDataContext when Rules and DataSources are both empty for JDBC with cluster mode

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


   > @menghaoranss `SingleTableRule` is a built-in Rule used to provide routing capabilities for `SingleTable`. It does not require configuration and will automatically create and load single tables in the data source.
   
   @strongduanmu Thanks for your reply, i can close this issue now.


-- 
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] strongduanmu commented on issue #12060: SingleTableRule is created in MetaDataContext when Rules and DataSources are both empty for JDBC with cluster mode

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


   @menghaoranss `SingleTableRule` is a built-in Rule used to provide routing capabilities for `SingleTable`. It does not require configuration and will automatically create and load single tables in the data source.


-- 
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] menghaoranss closed issue #12060: SingleTableRule is created in MetaDataContext when Rules and DataSources are both empty for JDBC with cluster mode

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


   


-- 
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] strongduanmu commented on issue #12060: SingleTableRule is created in MetaDataContext when Rules and DataSources are both empty for JDBC with cluster mode

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


   @menghaoranss `SingleTableRule` is a built-in Rule used to provide routing capabilities for `SingleTable`. It does not require configuration and will automatically create and load single tables in the data source.


-- 
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] menghaoranss closed issue #12060: SingleTableRule is created in MetaDataContext when Rules and DataSources are both empty for JDBC with cluster mode

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


   


-- 
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] menghaoranss commented on issue #12060: SingleTableRule is created in MetaDataContext when Rules and DataSources are both empty for JDBC with cluster mode

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


   > @menghaoranss `SingleTableRule` is a built-in Rule used to provide routing capabilities for `SingleTable`. It does not require configuration and will automatically create and load single tables in the data source.
   
   @strongduanmu Thanks for your reply, i can close this issue now.


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