RaigorJiang opened a new issue, #22300:
URL: https://github.com/apache/shardingsphere/issues/22300

   ### Which version of ShardingSphere did you use?
   master b352e2a1
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   ShardingSphere-Proxy
   
   ### Expected behavior
   When execute DistSQL `DROP SHADOW RULE`, the target rule can be successfully 
dropped.
   
   ### Actual behavior
   Execution has no effect.
   
   ### Reason analyze (If you can)
   `DropShadowRuleStatementUpdater` uses the rule name to drop rules, but in 
#22123, the structure of dataSources is changed from Map to Collection, and the 
name cannot be used to match the target object.
   
   
   <img width="934" alt="image" 
src="https://user-images.githubusercontent.com/5668787/202914878-05df858b-5a4c-43bc-bb66-5cbe334b14e5.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: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to