[
https://issues.apache.org/jira/browse/CASSANDRA-8110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14247307#comment-14247307
]
Yuki Morishita commented on CASSANDRA-8110:
-------------------------------------------
Streaing is zero-copy operation on sender side. The file is transferred as it
is.
So basically we need to implement the way to write older version of SSTable to
wire from existing file.
I think this part is not that hard, we can create another StreamWriter that
reads from SSTable and writes to socket in certain format partion by partition.
Ideally, I think we should define on-the-wire format (based on 2.1 SSTable
format) so that we don't have to worry about which format we should stream in
the future.
In this case we need to add StreamReader to read that format.
> Make streaming backwards compatible
> -----------------------------------
>
> Key: CASSANDRA-8110
> URL: https://issues.apache.org/jira/browse/CASSANDRA-8110
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Marcus Eriksson
> Fix For: 3.0
>
>
> 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)