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/06/01 11:27:18 UTC

[GitHub] [shardingsphere] strongduanmu commented on issue #10607: DistSQL create readwrite splitting rule error after execute drop readwrite splitting rule

strongduanmu commented on issue #10607:
URL: https://github.com/apache/shardingsphere/issues/10607#issuecomment-852048262


   DB_DISCOVERY has the same problem.
   
   ```sql
   mysql> DROP DB_DISCOVERY RULE ha_group_0;
   Query OK, 0 rows affected (0.01 sec)
   
   mysql> CREATE DB_DISCOVERY RULE ha_group_0 (
       ->     RESOURCES(resource0,resource1),
       ->     TYPE(NAME=mgr,PROPERTIES(groupName='92504d5b-6dec',keepAliveCron=''))
       -> ),ha_group_1 (
       ->     RESOURCES(resource0,resource1),
       ->     TYPE(NAME=mgr,PROPERTIES(groupName='92504d5b-6dec',keepAliveCron=''))
       -> );
   ERROR 1105 (C1105): Duplicate rule names [ha_group_0] in schema sharding_db
   ```


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