You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "lemon-xxy (via GitHub)" <gi...@apache.org> on 2023/11/14 02:12:10 UTC

[I] CREATE SHARDING TABLE RULE will delete the previous sharding configuration [shardingsphere]

lemon-xxy opened a new issue, #29031:
URL: https://github.com/apache/shardingsphere/issues/29031

   ## Bug Report
   
   ### Which version of ShardingSphere did you use?
   docker:apache/shardingsphere-proxy:5.4.1
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   ShardingSphere-Proxy
   ### Expected behavior
   Add sharding rules
   ### Actual behavior
   Delete the previous sharding rule and add a new sharding rule
   ### Reason analyze (If you can)
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   before
   <img width="1303" alt="image" src="https://github.com/apache/shardingsphere/assets/19415409/a9a2a8b1-3637-45b8-bf37-177116081169">
   after
   <img width="1187" alt="image" src="https://github.com/apache/shardingsphere/assets/19415409/77d2bb53-f71a-4c6c-ba0d-a7325844e186">
   ### Example codes for reproduce this issue (such as a github link).
   


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


Re: [I] CREATE SHARDING TABLE RULE will delete the previous sharding configuration [shardingsphere]

Posted by "RaigorJiang (via GitHub)" <gi...@apache.org>.
RaigorJiang commented on issue #29031:
URL: https://github.com/apache/shardingsphere/issues/29031#issuecomment-1827589578

   > Hi @lemon-xxy, I faced the same issue using 5.4.1 in Standalone mode, in both the Binary Distribution of shardingsphere-proxy and using Helm chart deployment. The issue seems to be only with adding table rules, there is no issue in adding storage units.
   > 
   > For a workaround i've used Compatible_Standalone mode instead, and it works fine with this mode.
   
   Well, thanks for your feedback~


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


Re: [I] CREATE SHARDING TABLE RULE will delete the previous sharding configuration [shardingsphere]

Posted by "lemon-xxy (via GitHub)" <gi...@apache.org>.
lemon-xxy commented on issue #29031:
URL: https://github.com/apache/shardingsphere/issues/29031#issuecomment-1815925829

   I didn't configure it, but it should be in standalone mode.
   <img width="839" alt="image" src="https://github.com/apache/shardingsphere/assets/19415409/27fbc424-147e-4a0f-9841-496c75cb6e8e">
   


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


Re: [I] CREATE SHARDING TABLE RULE will delete the previous sharding configuration [shardingsphere]

Posted by "lemon-xxy (via GitHub)" <gi...@apache.org>.
lemon-xxy commented on issue #29031:
URL: https://github.com/apache/shardingsphere/issues/29031#issuecomment-1815937226

   I tested the same configuration using 5.4.0 and it's normal


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


Re: [I] CREATE SHARDING TABLE RULE will delete the previous sharding configuration [shardingsphere]

Posted by "RaigorJiang (via GitHub)" <gi...@apache.org>.
RaigorJiang commented on issue #29031:
URL: https://github.com/apache/shardingsphere/issues/29031#issuecomment-1812053300

   Hi @lemon-xxy 
   I tested with version 5.4.1 and it didn’t reproduce.  [Proxy 5.4.1](https://www.apache.org/dyn/closer.lua/shardingsphere/5.4.1/apache-shardingsphere-5.4.1-shardingsphere-proxy-bin.tar.gz)
   
   <img width="1148" alt="image" src="https://github.com/apache/shardingsphere/assets/5668787/950b6765-abb4-4baa-bd6f-67ce5106eea7">
   
   
   PS. I used cluster mode (ZK),  and what is your mode configuration? @lemon-xxy 


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


Re: [I] CREATE SHARDING TABLE RULE will delete the previous sharding configuration [shardingsphere]

Posted by "strongduanmu (via GitHub)" <gi...@apache.org>.
strongduanmu closed issue #29031: CREATE SHARDING TABLE RULE will delete the previous sharding configuration
URL: https://github.com/apache/shardingsphere/issues/29031


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


Re: [I] CREATE SHARDING TABLE RULE will delete the previous sharding configuration [shardingsphere]

Posted by "nikhilerigila09 (via GitHub)" <gi...@apache.org>.
nikhilerigila09 commented on issue #29031:
URL: https://github.com/apache/shardingsphere/issues/29031#issuecomment-1827112532

   Hi @lemon-xxy, I faced the same issue using 5.4.1 in Standalone mode, in both the Binary Distribution of shardingsphere-proxy and using Helm chart deployment. 
   The issue seems to be only with adding table rules, there is no issue in adding storage units. 
   
   For a workaround i've used Compatible_Standalone mode instead, and it works fine with this 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