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

Yuki Morishita commented on CASSANDRA-8928:
-------------------------------------------

Hi Kaide, thanks for your interest.

As you can see in 
[BigVersion|https://github.com/apache/cassandra/blob/cassandra-3.3/src/java/org/apache/cassandra/io/sstable/format/big/BigFormat.java#L116],
 cassandra-3.x supports *reading* SSTable as old as version 2.0.1('jb' in 
SSTable file name). But right now, cassandra only writes SSTable in the latest 
(la) format. So, we'd like to add function to write in those older version 
defined in BigVersion (jb, ka, la). Cassandra already can read from those 
versions, you may want to start reading how old formats are written by reading 
older version of Cassandra.

SSTable API is in 
[o.a.c.io.sstable.format|https://github.com/apache/cassandra/tree/trunk/src/java/org/apache/cassandra/io/sstable/format].

> Add downgradesstables
> ---------------------
>
>                 Key: CASSANDRA-8928
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8928
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Tools
>            Reporter: Jeremy Hanna
>            Priority: Minor
>              Labels: gsoc2016, mentor
>
> As mentioned in other places such as CASSANDRA-8047 and in the wild, 
> sometimes you need to go back.  A downgrade sstables utility would be nice 
> for a lot of reasons and I don't know that supporting going back to the 
> previous major version format would be too much code since we already support 
> reading the previous version.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to