alibaba / nacos

an easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications.
https://nacos.io
Apache License 2.0
30.16k stars 12.82k forks source link

nacos1.4删除命名空间,命名空间下的数据删不掉 #8602

Closed riane2 closed 2 years ago

riane2 commented 2 years ago

Describe the bug nacos1.4删除命名空间,命名空间下的数据删不掉,配置页面和注册页面进去,数据都存在

Expected behavior 期望:命名空间下有数据时,要么提示用户不可删除,要么全部全量删除数据,否则会有垃圾数据

Actually behavior 所有命名空间下的数据都存在

How to Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See errors

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

onewe commented 2 years ago

版本是1.4.0 吗?

riane2 commented 2 years ago

版本是1.4.0 吗?

1.4.1 版本

onewe commented 2 years ago

我复现了, 这应该是前端的bug @I will resolve it@

riane2 commented 2 years ago

我复现了, 这应该是前端的bug @i will resolve it@

后端数据库数据也没有删掉 还有请教一下:这种删除命名空间的操作有没有限制 ?比如说有服务注册在上面或者命名空间下有配置文件的时候不允许删除

onewe commented 2 years ago

目前来看没有做限制

KomachiSion commented 2 years ago

删除命名空间只是删空间,不会删除里面的数据, 这块确实考虑加一下校验,如果有内容不让删。