[ 
https://issues.apache.org/jira/browse/CASSANDRA-1884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973088#action_12973088
 ] 

Hudson commented on CASSANDRA-1884:
-----------------------------------

Integrated in Cassandra-0.7 #97 (See 
[https://hudson.apache.org/hudson/job/Cassandra-0.7/97/])
    SSTableExport validates key order
patch by Karl Mueller; reviewed by mdennis for CASSANDRA-1884


> sstable2json / sstablekeys should verify key order in -Data and -Index files
> ----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1884
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1884
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Karl Mueller
>            Assignee: Karl Mueller
>            Priority: Minor
>             Fix For: 0.7.0
>
>         Attachments: c0.7-ordered-key-check.txt
>
>
> Some cassandra users use sstable2json and sstablekeys to check -Data and 
> -Index files for integrity.  For example, if compaction fails, you can find 
> out which files are causing the compaction to fail because they're corrupt.  
> One type of corruption that can happen in both -Data and -Index files are 
> keys getting out of order.  (This shouldn't happen, but it can)  Cassandra 
> catches this error during compaction, but both tools didn't catch it.  
> This small patch simply causes an IO Exception during export if it finds out 
> of order keys.  
> Some further work on it may make this optional with a command-line switch - 
> it may be useful to export the data to json even though it's out of order to 
> manually play it back, or have another script re-order it. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to