I am using clickhouse to store data, and I'm getting the following error while querying the column cid from the click table.
Checksum doesn't match: corrupted data.
I don't have any replicate for now, any suggestions for recovery?
I am using clickhouse to store data, and I'm getting the following error while querying the column cid from the click table.
Checksum doesn't match: corrupted data.
I don't have any replicate for now, any suggestions for recovery?
错误归结为CityHash128
和压缩数据的校验和不匹配,并在readCompressedData函数中引发此异常。
您可以尝试disable_checksum
通过disableChecksumming方法禁用此检查。
它可以工作,但损坏很可能意味着您的原始数据有问题,除非您进行备份,否则恢复的机会很小。
通常,您会在异常消息中获得数据部分名称和列名称。
您可以找到特定的数据部分,删除与该单列相关的文件,然后重新启动服务器。您将丢失(已损坏)数据部分中一列的数据(读取时将填充默认值),但所有其他数据将保留。