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

相关推荐
叶域18 天前
ClickHouse总体学习
学习·clickhouse
时空无限18 天前
clickhouse清除system 表数据释放磁盘空间
数据库·clickhouse
angryshan18 天前
ClickHouse合并任务与查询延迟专项测试
数据库·clickhouse·php
fusugongzi19 天前
spring boot连接clickhouse集群,实现故障节点自动切换
java·spring boot·clickhouse
AAEllisonPang20 天前
ClickHouse优化技巧实战指南:从原理到案例解析
clickhouse
Faith_xzc23 天前
Doris vs ClickHouse 企业级实时分析引擎怎么选?
大数据·数据库·clickhouse·数据库开发
hjehheje23 天前
hbase的主要功能
clickhouse
hjehheje24 天前
hbase实训 阿达
clickhouse
hjehheje24 天前
clickhouse删除一条数据
数据库·clickhouse·oracle
hjehheje25 天前
hbase超详细介绍
clickhouse