cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulo Motta (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-11875) Create StandaloneDowngrader with support to ma format
Date Mon, 23 May 2016 12:17:12 GMT
Paulo Motta created CASSANDRA-11875:
---------------------------------------

             Summary: Create StandaloneDowngrader with support to ma format
                 Key: CASSANDRA-11875
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11875
             Project: Cassandra
          Issue Type: Sub-task
            Reporter: Paulo Motta
            Assignee: Kaide Mu
            Priority: Minor


Currently {{Upgrader}} receives an sstable in any readable format, and writes into {{BigFormat.getLatestVersion()}}.
We should generalize it by making it receive a {{target}} version and probably also rename
it to {{SSTableConverter}}. 

Based on this we can create an {{StandaloneDowngrader}} tool which will perform downgrade
of specified sstables to a target version. To start with, we should support only downgrading
to {{ma}} format (from current format {{mb}}), downgrade to any other version should be forbidden.
Since we already support serializing to "ma" we will not need to do any data conversion.

We should also create a test suite that creates an sstable with data in the current format,
perform the downgrade, and verify data in the new format is correct. This will be the base
tests suite for more advanced conversions in the future.



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

Mime
View raw message