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] [Commented] (CASSANDRA-8110) Make streaming backwards compatible
Date Tue, 14 Jun 2016 16:25:57 GMT

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

Paulo Motta commented on CASSANDRA-8110:
----------------------------------------

While we initially considered CASSANDRA-8928 a enabler of backward-compatible streaming, it
seems more reasonable to pursue this independently because here we only need to convert/downgrade
the data component while to provide full-fledged sstable downgrading you need to reliably
downgrade all components which needs a much bigger effort in implementation and testing, besides
a lot of legacy code that needs to be kept around. 

The fact that the stream receiver deserializes partitions and regenerates sstable components
locally means the sender can convert partitions on-the-fly to the previous data format, requiring
little change to current streaming code. I attached a [proposal|https://docs.google.com/document/d/1LoOT5ZPbUDRb7NhPtGwt9ny7p1-3VG_prAUHYvEyKOQ]
with more details of that approach. Feedback is very welcome!

After this is supported, sstable downgrading can be achieved by sstableloading new format
sstables into old nodes, reducing the need for a standalone downgrader tool.

> Make streaming backwards compatible
> -----------------------------------
>
>                 Key: CASSANDRA-8110
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8110
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Streaming and Messaging
>            Reporter: Marcus Eriksson
>              Labels: gsoc2016, mentor
>             Fix For: 3.x
>
>
> To be able to seamlessly upgrade clusters we need to make it possible to stream files
between nodes with different StreamMessage.CURRENT_VERSION



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

Mime
View raw message