Re: Cassandra 1.1.11 does not always show filename of corrupted files

2013-05-31 Thread Robert Coli
On Fri, May 31, 2013 at 7:44 AM, horschi wrote: > But does nobody else find the old behaviour annoying? Nobody ever wanted to > identfy the broken files? I found it annoying, as did (presumably) whomever patched it for 1.2. :D =Rob

Re: Cassandra 1.1.11 does not always show filename of corrupted files

2013-05-31 Thread horschi
Ok, looking at the code I can see that 1.2 fixes the issue: try { validBufferBytes = metadata.compressor().uncompress(compressed.array(), 0, chunk.length, buffer, 0); } catch (IOException e) { throw new CorruptBlockException(getPath(),

Cassandra 1.1.11 does not always show filename of corrupted files

2013-05-30 Thread horschi
Hi, we had some hard-disk issues this week, which caused some datafiles to get corrupt, which was reported by the compaction. My approach to fix this was to delete the corrupted files and run repair. That sounded easy at first, but unfortunetaly C* 1.1.11 sometimes does not show which datafile is