clickhouse处理readonly报错

1,clickhouse执行

SYSTEM RESTORE REPLICA db_com.dwd_com_t_judge_result_local;

SYSTEM RESTORE REPLICA db_com.dwd_com_t_judge_result_local

Query id: 70669be0-eef8-41da-b761-4980ce48ece2

0 rows in set. Elapsed: 0.001 sec.

Received exception from server (version 23.3.1):
Code: 36. DB::Exception: Received from localhost:9000. DB::Exception: Replica path is present at /clickhouse/tables/3/db_com/dwd_com_t_judge_result/replicas/bigdata-30 - nothing to restore. If you are sure that metadata is lost and that replica path contains some garbage, then use SYSTEM DROP REPLICA query first… (BAD_ARGUMENTS)
解决方法,手动删除zk中的路径,重新执行修复readonly的几个步骤,中间删除zk路径的不执行
readonly参考以下方法
https://blog.csdn.net/weixin_51473488/article/details/133743119

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值