You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Zhu Han (Created) (JIRA)" <ji...@apache.org> on 2012/03/15 11:47:38 UTC

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

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: 1.0.8
            Reporter: Zhu Han


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

        

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

Posted by "Jonathan Ellis (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-4054:
--------------------------------------

         Priority: Minor  (was: Major)
    Fix Version/s:     (was: 1.1.0)
                   1.2
         Assignee: Yuki Morishita
    
> 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: Yuki Morishita
>            Priority: Minor
>             Fix For: 1.2
>
>
> 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

        

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

Posted by "Yuki Morishita (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13398548#comment-13398548 ] 

Yuki Morishita commented on CASSANDRA-4054:
-------------------------------------------

SSTableImport seems it does not handle SuperColumn deletion as well. (It has been commented out for long time.)
How about extending writeMeta/parseCFMetadata to accept SuperColumn (or more precisely, AbstractColumnContainer) and use them when handling both row and SuperColumn?
Also, it would be great if you remove whitespaces on empty line and always put braces on new line.
                
> 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

        

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

Posted by "David Alves (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13410387#comment-13410387 ] 

David Alves commented on CASSANDRA-4054:
----------------------------------------

Yuki is the implementation on the latest patch what you had in mind?
wrt to pulling deletionInfo up and abandoning metadata +0, I'm happy either way.
                
> 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, 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

        

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

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-4054:
--------------------------------------

    Reviewer: yukim
    Assignee: David Alves  (was: Yuki Morishita)
    
> 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
>
>
> 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

        

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

Posted by "David Alves (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Alves updated CASSANDRA-4054:
-----------------------------------

    Attachment: 4054.patch

patch without abbreviated names
                
> 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, 4054.patch, 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

        

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

Posted by "David Alves (JIRA)" <ji...@apache.org>.
    [ 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

        

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

Posted by "Yuki Morishita (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411600#comment-13411600 ] 

Yuki Morishita commented on CASSANDRA-4054:
-------------------------------------------

David, 
As you stated above, I think it is ok to leave metadata container.
So, I'm +1 here, only if it were "metadata" and "columns".
Could you make those changes and repost the patch?
                
> 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, 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

        

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

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13412899#comment-13412899 ] 

Hudson commented on CASSANDRA-4054:
-----------------------------------

Integrated in Cassandra #1691 (See [https://builds.apache.org/job/Cassandra/1691/])
    new json format with row level deletion; patch by David Alves, reviewed by yukim for CASSANDRA-4054 (Revision d569f873de40f0336a9a34e260c1942866e48950)

     Result = ABORTED
yukim : 
Files : 
* test/resources/SuperCF.json
* test/resources/UnsortedCF.json
* test/resources/SimpleCF.oldformat.json
* test/resources/CounterCF.json
* src/java/org/apache/cassandra/tools/SSTableExport.java
* CHANGES.txt
* test/unit/org/apache/cassandra/tools/SSTableImportTest.java
* test/resources/SimpleCFWithDeletionInfo.json
* test/resources/SimpleCF.json
* test/unit/org/apache/cassandra/tools/SSTableExportTest.java
* src/java/org/apache/cassandra/tools/SSTableImport.java
* test/resources/UnsortedSuperCF.json

                
> 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, 4054.patch, 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

        

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

Posted by "Jonathan Ellis (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230563#comment-13230563 ] 

Jonathan Ellis commented on CASSANDRA-4054:
-------------------------------------------

I think we could fix that by splitting the row into {'key': key, 'metadata': {...}, 'columns': [...]} instead of the current {key: [...]}.

Do you want to take a stab at that, Zhu?
                
> 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: 1.0.8
>            Reporter: Zhu Han
>
> 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

        

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

Posted by "David Alves (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Alves updated CASSANDRA-4054:
-----------------------------------

    Attachment: 4054.patch

additionally implements Yuki's suggestion. also deals with formatting and whitespace issues.
                
> 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, 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

        

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

Posted by "Yuki Morishita (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13412884#comment-13412884 ] 

Yuki Morishita commented on CASSANDRA-4054:
-------------------------------------------

+1 and committed. Thanks, David!
                
> 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, 4054.patch, 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

        

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

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404308#comment-13404308 ] 

Jonathan Ellis commented on CASSANDRA-4054:
-------------------------------------------

bq. I think we could fix that by splitting the row into {'key': key, 'metadata': {...}, 'columns': [...]} 

Thinking about it more ... do we really want a meta[data] object with just a single sub-object?  should we just pull deletion_info out and make it a top-level field and dispense with the meta container?

Nit: would prefer to spell out "columns" vs "cols"
                
> 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, 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

        

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

Posted by "Jonathan Ellis (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-4054:
--------------------------------------

    Affects Version/s:     (was: 1.0.8)
                       0.5
        Fix Version/s: 1.1.0

Changing fix version to 1.1.0 since this would be backwards-incompatible.  If we miss 1.1.0 we can push to 1.2.
                
> 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
>             Fix For: 1.1.0
>
>
> 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

        

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

Posted by "David Alves (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Alves updated CASSANDRA-4054:
-----------------------------------

    Attachment: 4054.patch
    
> 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

        

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

Posted by "David Alves (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404319#comment-13404319 ] 

David Alves edited comment on CASSANDRA-4054 at 6/29/12 11:36 PM:
------------------------------------------------------------------

the only point I can think of for the metadata container is to ease maintenance/compatibility down the line (i.e. writing/parsing metadata can change without having impact on the overall format), then again the less verbose the output the better (previous format had that in mind and that's why I used "meta" and "cols" instead of "metadata" and "columns"). I'm happy either way. wdyt?

                
      was (Author: dr-alves):
    the only point I can think of for the metadata container is to ease maintenance compatibility down the line (i.e. writing/parsing metadata can change without having impact on the overall format), then again the less verbose the output the better (previous format had that in mind and that's why I used "meta" and "cols" instead of "metadata" and "columns"). I'm happy wither way. wdyt?


                  
> 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, 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

        

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

Posted by "David Alves (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404319#comment-13404319 ] 

David Alves commented on CASSANDRA-4054:
----------------------------------------

the only point I can think of for the metadata container is to ease maintenance compatibility down the line (i.e. writing/parsing metadata can change without having impact on the overall format), then again the less verbose the output the better (previous format had that in mind and that's why I used "meta" and "cols" instead of "metadata" and "columns"). I'm happy wither way. wdyt?


                
> 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, 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