thanks for your help.
I ran 'nodetool scrub' and it finished after a couple of hours. But there are no infos about
out of order rows in the logs and the compaction on the column family still raises the same
With the row key I could identify some of the errant SSTables and removed them during
a node restart. On some nodes compaction is working for the moment but there are likely
more corrupt datafiles and than I would be in the same situation as before.
So I still need some help to resolve this issue!
2013/2/12 aaron morton <email@example.com>
snapshot all nodes so you have a backup: nodetool snapshot -t corrupt
run nodetool scrub on the errant CF.
Look for messages such as:
"Out of order row detected…"
"%d out of order rows found while scrubbing %s; Those have been written (in order) to a new sstable (%s)"
In the logs.
Freelance Cassandra Developer
I'm running a 6 node Cassandra 1.1.5 cluster on EC2. We have switched to leveled compaction a couple of weeks ago,
this has been successful. Some days ago 3 of the nodes start to log the following exception during compaction of
a particular column family:
ERROR [CompactionExecutor:726] 2013-02-11 13:02:26,582
AbstractCassandraDaemon.java (line 135) Exception in thread
java.lang.RuntimeException: Last written key
>= current key DecoratedKey(28357704665244162161305918843747894551,
writing into /var/cassandra/data/AdServer/EventHistory/Adserver-EventHistory-tmp-he-68638-Data.db
Compaction does not happen any more for the column family and read performance gets worse because of the growing
number of data files accessed during reads. Looks like one or more of the data files are corrupt and have keys
that are stored out of order.
Any help to resolve this situation would be greatly appreciated.