截断clickhouse中群集上的表

i34xakig  于 2021-07-15  发布在  ClickHouse
关注(0)|答案(0)|浏览(285)

我使用的是clickhouse版本 20.1.5 并建立一个包含大量clickhouse副本的集群。我还设置了 insert_quorum = 2 .
当我这么做的时候 truncate table [table_name] on cluster [cluster_name] ,正常完成。但当我执行这个查询时 SELECT COUNT(*) FROM table_name ,我犯了这个错误

Code: 289. DB::Exception: Received from localhost:9000. DB::Exception: Received from 10.33.179.126:9000. DB::Exception: Replica doesn't have part all_56_56_0 which was successfully written to quorum of other replicas. Send query to another replica or disable 'select_sequential_consistency' setting..

你知道原因是什么吗?我怎么解决?
谢谢。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题