失败后恢复数据,缓存模式版本不匹配

时间:2016-04-08 17:29:07

标签: cassandra kubernetes glusterfs

cassandra Filesystem位于glusterFS上,在将pod数量缩减为零后,最多返回3,数据未加载到cassandra中。

有没有办法恢复它?

INFO  17:00:52 reading saved cache /cassandra_data/saved_caches/KeyCache-d.db
INFO  17:00:52 Harmless error reading saved cache /cassandra_data/saved_caches/KeyCache-d.db
java.lang.RuntimeException: Cache schema version c2a2bb4f-7d31-3fb8-a216-00b41a643650 does not match current schema version 59adb24e-f3cd-3e02-97f0-5b395827453f
at org.apache.cassandra.cache.AutoSavingCache.loadSaved(AutoSavingCache.java:198) ~[apache-cassandra-3.3.jar:3.3]
at org.apache.cassandra.cache.AutoSavingCache$3.call(AutoSavingCache.java:157) [apache-cassandra-3.3.jar:3.3]
at org.apache.cassandra.cache.AutoSavingCache$3.call(AutoSavingCache.java:153) [apache-cassandra-3.3.jar:3.3]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_77]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_77]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_77]

1 个答案:

答案 0 :(得分:2)

您显示的日志是无害错误。基本上它只是说缓存文件不再同步。

  

INFO 17:00:52 无害错误读取保存的缓存/cassandra_data/saved_caches/KeyCache-d.db