【clickhouse踩坑记录】建表报错:format_version.txt, errno: 2, strerror: No such file or directory

背景

今天clickhouse建表正常,但删除表之后,重新建表出现如下报错

drop table default.test on cluster ${cluster_name};

报错内容:

Code: 458, e.displayText() = DB::Exception: There was an error on [xxx.xxx.xx.xxx:9000]: Code: 458, e.displayText() = DB::ErrnoException: Cannot unlink file /u/ssd2/app/clickhouse/store/7b4/7b45ba2c-4b8f-4abd-96a2-a365d47f365b/format_version.txt, errno: 2, strerror: No such file or directory (version 21.3.7.62 (official build)) (version 21.3.7.62 (official build))

处理过程

1、开始网上搜索各种资料。
2、但是等待一段之间,重新执行就可以了。初步猜测,是因为删表的时候导致某个节点的文件删了,过一段时间,zookeeper把数据恢复了就没问题了。
3、问题待继续深入研究原因。

参考链接: clickhouse报错code说明

评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值