zjcnb opened a new issue, #19583: URL: https://github.com/apache/shardingsphere/issues/19583
### Which version of ShardingSphere did you use? `master` https://github.com/apache/shardingsphere/commit/a5e6b52a4d7ec8f449af6e304936c40b521bc79a ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy? `ShardingSphere-Proxy` ### Expected behavior Correct error message ### Actual behavior Wrong message ``` mysql> SHOW DB_DISCOVERY RULES; +--------------+-------------------+--------------------------+-------------------------------------------------------------------------------------+-------------------------------------------------------------+ | group_name | data_source_names | primary_data_source_name | discovery_type | discovery_heartbeat | +--------------+-------------------+--------------------------+-------------------------------------------------------------------------------------+-------------------------------------------------------------+ | readwrite_ds | ds_0,ds_1,ds_2 | ds_1 | {name=mgr, type=MySQL.MGR, props={group-name=558edd3c-02ec-11ea-9bb3-080027e39bd2}} | {name=mgr-heartbeat, props={keep-alive-cron=0/5 * * * * ?}} | +--------------+-------------------+--------------------------+-------------------------------------------------------------------------------------+-------------------------------------------------------------+ 1 row in set (0.00 sec) mysql> SHOW DB_DISCOVERY HEARTBEATS; +---------------+---------------------------------+ | name | props | +---------------+---------------------------------+ | mgr-heartbeat | {keep-alive-cron=0/5 * * * * ?} | +---------------+---------------------------------+ 1 row in set (0.00 sec) mysql> SHOW DB_DISCOVERY TYPES; +------+-----------+---------------------------------------------------+ | name | type | props | +------+-----------+---------------------------------------------------+ | mgr | MySQL.MGR | {group-name=558edd3c-02ec-11ea-9bb3-080027e39bd2} | +------+-----------+---------------------------------------------------+ 1 row in set (0.01 sec) mysql> DROP DB_DISCOVERY HEARTBEAT mgr-heartbeat; ERROR 1112 (C1112): Database discovery rules `[mgr]` do not exist in database `database_discovery_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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
