如何从反序列化变异错误中恢复cassandra:

cqoc49vn  于 2021-06-15  发布在  Cassandra
关注(0)|答案(0)|浏览(178)

我有一个cassandra,现在在启动服务器时出现此错误:

ERROR 11:18:45 Exiting due to error while processing commit log during initialization.
org.apache.cassandra.db.commitlog.CommitLogReadHandler$CommitLogReadException: Unexpected error deserializing mutation; saved to /tmp/mutation4787806670239768067dat.  This may be caused by replaying a mutation against a table with the same name but incompatible schema.  Exception follows: org.apache.cassandra.serializers.MarshalException: A local deletion time should not be negative

如果我删除了所有commitlog和保存的缓存文件,服务器就会启动,但是第二天当我重新启动cassandra时,错误再次发生。
怎么了?如何让Cassandra再次稳定?
我使用的是Cassandra3.9,但我试图升级到3.11,但没有任何改变。

暂无答案!

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

相关问题