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

如何修复fe的metadata #241

Open
HongyanShen opened this issue Sep 6, 2024 · 2 comments
Open

如何修复fe的metadata #241

HongyanShen opened this issue Sep 6, 2024 · 2 comments

Comments

@HongyanShen
Copy link

按照官方文档的说法,需要在找到image最新的fe节点后带上metadata_failure_recovery参数重启该节点,然后DROP 掉FOLLOWER/OBSERVER,再手动加入。

我尝试的步骤为:
1 备份各fe的meta data,并将最新的meta data拷贝到fe-0
2 缩容fe为1个副本,在configmap将metadata_failure_recovery设置为true重启fe-0
3 在启动成功,且该节点成为master后,连接到该节点检查操作是否正常,如果正常drop掉其他节点
4 删除其他节点的pvc
5 修改configmap,去掉metadata_failure_recovery,并对fe进行扩容操作

但在执行第二步后,fe只剩了一个副本,但是启动失败,错误日志为:
image

原因应该是helm upgrade之后,IP发生了变化,这请这时该如何补救呢?

@HongyanShen
Copy link
Author

发现是在configmap里设置metadata_failure_recovery不生效,通过打recovery annotation现在可以进入到恢复流程,但是恢复时报com.sleepycat.je.DiskLimitException异常,现正在扩容PV,待扩容成功后再试试

@intelligentfu8
Copy link
Contributor

in k8s don't use metadata_failure_recovery as doc. IP not supported in common k8s, if your k8s keep IP static, you can use it, if not please config enable_fqdn_mode= true in fe's configmap. if you use IP mode in k8s not supported IP keep static, please remove the doris cluster to redeploy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants