You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "David Alves (JIRA)" <ji...@apache.org> on 2012/06/21 06:42:48 UTC

[jira] [Comment Edited] (CASSANDRA-4054) SStableImport and SStableExport does not serialize row level deletion

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

David Alves edited comment on CASSANDRA-4054 at 6/21/12 4:40 AM:
-----------------------------------------------------------------

Patch implements jbellis suggestion.
also:
- refactored SSTableImport's methods away from static (class had static internal state that was breaking tests in some configurations)
- added several tests to import that were missing (import sorted was only tested in the case we indicated we wanted to import sorted but there were unsorted keys).
- deletion info is serialized/deserialized with the same data as in DeletionInfo.Serializer.serializeToSSTable
                
      was (Author: dr-alves):
    Patch implements jbellis suggestion.
also:
- refactored SSTableImport's methods away from static (class had static internal state that was breaking tests in some configurations)
- added several tests to import that were missing (import sorted was only tested in the case we indicated we wanted to import sorted but there were unsorted keys).
- deletion info is serialized/deserialized with the same data as in ColumnFamily.Serializer.serializeToSSTable
                  
> SStableImport and SStableExport does not serialize row level deletion
> ---------------------------------------------------------------------
>
>                 Key: CASSANDRA-4054
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4054
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.5
>            Reporter: Zhu Han
>            Assignee: David Alves
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: 4054.patch
>
>
> SSTableImport and SSTableExport does not serialize/de-serialize the row-level deletion info to/from the json file. This brings back the deleted data after restore from the json file.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira