On Wed, Oct 1, 2014 at 3:11 PM, Tyler Hobbs <ty...@datastax.com> wrote:
> Compressed SSTables store a checksum for every compressed block, which is > checked each time the block is decompressed. I believe there's a ticket > out there to add something similar for non-compressed SSTables. > > We also store the sha1 hash of SSTables in its own file on disk. > @OP : this came up a few weeks ago on the list, search for bitrot for the previous thread. Expanding on the discussion further, I plan to file a JIRA on you-must-mark-all-sstables-for-that-range-unrepaired-if-you-fail-CRC-on-read. I'll try to remember to reply on thread when I do. Once there is a CRC on uncompressed read, marking-all-sstables-unrepaired-on-failed-CRC would handle the bitrot case for both uncompressed and compressed reads. =Rob