今天需要在cassandra建立一个新表用作英文spu匹配,报错如下:
1
2
3
Warning: schema version mismatch detected, which might be caused by DOWN nodes; 
if this is not the case, check the schema versions of your nodes in system.local and system.peers.
OperationTimedOut: errors={}, last_host=host
初步判断应该是cassandra节点数据异常,使用nodetool工具修复之,再次建表无异常。
1
./nodetool repair
cassandra还是建议定时repair,防止出现数据异常.
参考: