cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Eriksson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-5511) Clean up backwards compatibility complexity for 2.0
Date Fri, 26 Apr 2013 09:34:15 GMT

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

Marcus Eriksson commented on CASSANDRA-5511:
--------------------------------------------

* we can remove Directories.sstablesNeedMigration(...) (and related)
* remove DefsTable.fixSchemaNanoTimestamps()
* SystemTable.upgradeSystemData() can be cleaned up (LocationInfo is gone in 1.2 right?)
* Remove SystemTable.OLD_STATUS_CF and SystemTable.OLD_HINTS_CF
* CFMetaData has a bunch of @Deprecated fields that can probably be removed.
* Nit: remove sstable.decorateKey(..) and use sstable.partitioner.decorateKey(...) everywhere
* why keep _SHA in FilterFactory.Type? (couldnt find any .ordinal() use)
* Do we use MURMUR2 anywhere?
* I guess we can remove everything testing "version < MessagingService.VERSION_12" (or
throw appropriate exceptions etc)

                
> Clean up backwards compatibility complexity for 2.0
> ---------------------------------------------------
>
>                 Key: CASSANDRA-5511
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5511
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>             Fix For: 2.0
>
>         Attachments: CASSANDRA-5511-on_1.2.patch, CASSANDRA-5511-on_trunk.patch
>
>
> We've supported rolling upgrades (network-compatible for read/write operations) for several
releases, but both 1.0 -> 1.1 and 1.1 -> 1.2 required being on a recent release of the
immediately prior major series for this to work as desired.
> Meanwhile, we still support reading sstables at least back to 0.6 and possibly even earlier.
 This makes dealing with changes to the sstable quite challenging; the recently written-and-reverted
CASSANDRA-5487 comes to mind.
> 2.0 is a good place to drop support for sstables older than 1.2.5.  Our experience with
network compatibility demonstrates that this is not an unreasonable burden to impose, and
the major version number change suggests that this is a logical time to make such a change.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message