Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [datasophon-api] 集群安装服务失败,删除服务重新安装,因为没有删除失败服务的全局参数(t_ddh_cluster_variable,GlobalVariables), 重新安装任然使用安装失败时配置的参数(Doirs2.0.7) #545

Open
3 tasks done
hawk9821 opened this issue May 6, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@hawk9821
Copy link
Contributor

hawk9821 commented May 6, 2024

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

集群安装服务失败,删除服务,未删除服务对应的参数(t_ddh_cluster_variable,GlobalVariables)

What you expected to happen

集群安装服务失败,删除服务,未删除服务对应的参数(t_ddh_cluster_variable,GlobalVariables)

How to reproduce

  1. t_ddh_cluster_variable 表增加 service_name字段
  2. 删除服务时候根据 cluster_id ,service_name查询 t_ddh_cluster_variable 所有参数,循环删除GlobalVariables
  3. 根据cluster_id ,service_name删除t_ddh_cluster_variable 中数据

Anything else

No response

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@datasophon
Copy link
Member

在重新安装服务时会更新服务对应的全局变量,是否有必要删除?

@hawk9821
Copy link
Contributor Author

hawk9821 commented May 6, 2024

我是在安装Doirs是发现的这个问题,重新安装Doirs时,${feMaster}这个参数并没有删除也没有更新,导致重新安装异常。 在架构层统一所有组件的安装逻辑是合适的,在删除组件时清理掉组件对应的参数,不影响后续重新安装应该是必须的。

在重新安装服务时会更新服务对应的全局变量,是否有必要删除?

datasophon pushed a commit that referenced this issue May 11, 2024
* [Bug] Doris] DDP1.2.2,使用doris官方包安装be失败 #539

* [Bug] [datasophon-api] 集群安装服务失败,删除服务重新安装,因为没有删除失败服务的全局参数(t_ddh_cluster_variable,GlobalVariables), 重新安装任然使用安装失败时配置的参数(Doirs2.0.7) #545
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants