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

相关推荐
SelectDB技术团队14 小时前
从 ClickHouse、Druid、Kylin 到 Doris:网易云音乐 PB 级实时分析平台降本增效
大数据·数据仓库·clickhouse·kylin·实时分析
risc1234565 天前
【ClickHouse】RollingBitmap
clickhouse
斯特凡今天也很帅5 天前
clickhouse如何查看操作记录,从日志来查看写入是否成功
数据库·clickhouse
袖清暮雨10 天前
ClickHouse讲解
大数据·数据库·数据仓库·clickhouse·oracle
江枫渔火L12 天前
使用clickhouse的ReplacingMergeTree引擎表做活跃玩家信息表
数据库·clickhouse
潇凝子潇14 天前
Doris ClickHouse Greenplum 对比
clickhouse·doris·greenplum
递归尽头是星辰15 天前
ClickHouse核心优势分析与场景实战
大数据·数据仓库·clickhouse·实时分析·实时查询
鲁尼的小宝贝17 天前
基于Flink的数据中台管理平台
java·大数据·clickhouse·flink·yarn
问道飞鱼21 天前
【大数据知识】今天聊聊Clickhouse部署方案
大数据·clickhouse·部署
Fireworkitte23 天前
ClickHouse详解
clickhouse