Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
Description
When run into the following:
2011-06-21 22:44:43,308 INFO [org.apache.cassandra.streaming.StreamOutSession] - Streaming to /10.128.64.163
2011-06-21 22:44:51,993 ERROR [org.apache.cassandra.service.AbstractCassandraDaemon] - Fatal exception in thread Thread[Thread-17651,5,main]
java.lang.RuntimeException: Cannot recover SSTable with version a (current version f).
at org.apache.cassandra.io.sstable.SSTableWriter.createBuilder(SSTableWriter.java:237)
at org.apache.cassandra.db.CompactionManager.submitSSTableBuild(CompactionManager.java:938)
at org.apache.cassandra.streaming.StreamInSession.finished(StreamInSession.java:107)
at org.apache.cassandra.streaming.IncomingStreamReader.readFile(IncomingStreamReader.java:112)
at org.apache.cassandra.streaming.IncomingStreamReader.read(IncomingStreamReader.java:61)
at org.apache.cassandra.net.IncomingTcpConnection.run(IncomingTcpConnection.java:91)
There is no indication on which SSTable is at fault. To recover from this, one would need to run nodetool scrub.
This may however take some time, depending the SSTables' sizes, and it is possible that only 1 keyspace or CF is needed to be rebuilt by scrub.
It'd be nice to print more details of the SSTable here in case the end-user prefers to just scrub the keyspace/cf in question.