dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

Tenant deletion causes the page user list to not be displayed(租户删除导致页面用户列表显示不出来)

Open Davidsong1989 opened this issue 7 years ago • 1 comments

The cause of the problem: Delete from t_escheduler_tenant where tenant_code='xxxx'; resulting in: Page user list is not displayed Need to execute: update t_escheduler_user set tenant_id=3; user list will be displayed

image

问题原因执行操作: delete from t_escheduler_tenant where tenant_code='xxxx'; 导致: 页面用户列表显示不出来 需执行: update t_escheduler_user set tenant_id=3;用户列表才会显示

image

Davidsong1989 avatar May 07 '19 07:05 Davidsong1989

First of all, we do not support tenant deletion now, so the associated query uses =, no left join is used. note: We do not recommend that individuals modify the database tenant table directly, because if hdfs is started, the tenant code will associate the hdfs path, and once the tenant code is modified, the user resource will not be found. We will support tenant deletion in the next version, and will solve this problem. Please use our interface, thank you.


首先我们现在是不支持租户删除的,故关联查询用的是=,没有使用left join 注意: 我们不建议个人直接修改数据库租户表,因为如果启动hdfs,租户编码会关联hdfs路径,一旦修改租户编码,用户资源将找不到。我们会在下一个版本支持租户删除,同时也会解决这个问题,最好请使用我们界面操作,谢谢。

qiaozhanwei avatar May 07 '19 08:05 qiaozhanwei