如何从反序列化突变错误中恢复Cassandra:

时间:2018-11-25 19:49:14

标签: database cassandra nosql

我只有一个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和saved_cached文件,服务器将启动,但是第二天,当我重新启动cassandra时,该错误再次发生。

怎么了?如何使卡桑德拉再次稳定?

我使用的是cassandra 3.9,但我尝试升级到3.11,但没有任何改变。

0 个答案:

没有答案