highfly22 opened a new issue #5339: URL: https://github.com/apache/apisix/issues/5339
### Issue description When deleting a upstream, the admin service doesn't check whether it is used in the traffic-split plugin. ### Environment - apisix version docker image apache/apisix:2.10.0-alpine - OS (cmd: `uname -a`): Linux algorithm-gateway-prod-apisix-57dcf5569f-v9gdj 3.10.0-1160.15.2.el7.x86_64 #1 SMP Wed Feb 3 15:06:38 UTC 2021 x86_64 Linux ### Steps to reproduce 1. create traffic-split route and assign a upstream to the route 2. Delete the upstream ### Actual result The upstream had been removed. ### Error log Code 200 ### Expected result Then admin service would reject the delete operation. -- 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]
