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/03/18 08:19:21 UTC

[GitHub] [shardingsphere] xhkyyy opened a new issue #9728: sharding-proxy can not load metadata

xhkyyy opened a new issue #9728:
URL: https://github.com/apache/shardingsphere/issues/9728


   ## Bug Report
   
   ### Which version of ShardingSphere did you use?
   
   4.1.1
   
   ### Which project did you use? 
   
   ShardingSphere-Proxy
   
   ### Expected behavior
   
   The metadata can be updated automatically when a DDL statement is executed.
   
   ### Actual behavior
   
   I created a new table using sharding-proxy (DDL statements), but when I execute query statements with this table, sharding-proxy reports an error. 
   
   ![bug](https://user-images.githubusercontent.com/2297302/111592433-bc474980-8803-11eb-8af0-98ff2f751361.png)
   
   ### Reason analyze (If you can)
   
   My guess is that sharding-proxy does not automatically update the metadata when DDL is executed.
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   
   `create table X (id  int(3) primary key )`
   
   `select * from X`
   
   ### Example codes for reproduce this issue (such as a github link).
   
   none
   
   
   
   
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] strongduanmu commented on issue #9728: sharding-proxy can't update metadata

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


   @xhkyyy Please be patient and wait for the good news. 😀 In addition, you are welcome to join the community.


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] strongduanmu commented on issue #9728: sharding-proxy can't update metadata

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


   @xhkyyy You can upgrade to the latest version of `sharding-proxy`, which already has good support for metadata updates.


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] xhkyyy commented on issue #9728: sharding-proxy can't update metadata

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


   > @xhkyyy You can upgrade to the latest version of `sharding-proxy`, which already has good support for metadata updates.
   
   I'm using the latest version of 4.x. Do you mean to use 5.x, but this is not yet GA. 😊


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] strongduanmu closed issue #9728: sharding-proxy can't update metadata

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


   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org