Yulei-Yang opened a new issue, #14888: URL: https://github.com/apache/doris/issues/14888
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Version master ### What's Wrong? rename a catalog to an exist catalog's name can be executed successfully, and the catalog with new name will be deleted. this should not happen. mysql> show catalogs; +-----------+-------------+----------+-----------+ | CatalogId | CatalogName | Type | IsCurrent | +-----------+-------------+----------+-----------+ | 190401 | es | es | | | 164205 | hms | hms | | | 0 | internal | internal | yes | | 136591 | mmm | hms | | +-----------+-------------+----------+-----------+ mysql> alter catalog mmm rename hms; Query OK, 0 rows affected (0.01 sec) mysql> show catalogs; +-----------+-------------+----------+-----------+ | CatalogId | CatalogName | Type | IsCurrent | +-----------+-------------+----------+-----------+ | 190401 | es | es | | | 136591 | hms | hms | | | 0 | internal | internal | yes | +-----------+-------------+----------+-----------+ ### What You Expected? fix it ### How to Reproduce? _No response_ ### Anything Else? _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
