[ 
https://issues.apache.org/jira/browse/CASSANDRA-2460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sylvain Lebresne updated CASSANDRA-2460:
----------------------------------------

    Attachment: 0001-Make-scrub-check-column-fields.patch

Attaching patch against 0.7 branch to validate as much of the column fields I 
can think of during scrub.

Note that I didn't do it but it may be worst merging the forceDeserialization 
and validateColumns for {Pre|Lazy}CompactedRow.

The 0.8 patch will probably be a little bit different, first because it may be 
cleaner to move the validation in CompactionController and because we will need 
to handle correctly CounterColumns. I'll write the patch separately when I have 
some feedback on this one.

> Make scrub validate deserialized columns
> ----------------------------------------
>
>                 Key: CASSANDRA-2460
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2460
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>             Fix For: 0.7.5
>
>         Attachments: 0001-Make-scrub-check-column-fields.patch
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Right now, scrub deserialize the columns but don't validate the fields, and 
> such there is a number of errors it could fix (or at least corrupted rows it 
> could skip) but don't.
> This ticket proposes to handle those errors.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to