You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Marcus Eriksson (JIRA)" <ji...@apache.org> on 2015/08/19 15:00:47 UTC
[jira] [Comment Edited] (CASSANDRA-8671) Give compaction strategy
more control over where sstables are created, including for flushing and
streaming.
[ https://issues.apache.org/jira/browse/CASSANDRA-8671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14702962#comment-14702962 ]
Marcus Eriksson edited comment on CASSANDRA-8671 at 8/19/15 1:00 PM:
---------------------------------------------------------------------
Pushed a few updates to the branch here: https://github.com/krummas/cassandra/commits/blake/8671-2 - biggest thing is probably that I removed the CompactionAwareWriter interface and refactored the API a bit.
Is this still enough for you?
tests here:
http://cassci.datastax.com/view/Dev/view/krummas/job/krummas-blake-8671-2-dtest/
http://cassci.datastax.com/view/Dev/view/krummas/job/krummas-blake-8671-2-testall/
Edit: btw, the changes in CQLSSTableWriter - I guess they are because we now need a column family when writing? Could you add a comment?
was (Author: krummas):
Pushed a few updates to the branch here: https://github.com/krummas/cassandra/commits/blake/8671-2 - biggest thing is probably that I removed the CompactionAwareWriter interface and refactored the API a bit.
Is this still enough for you?
tests here:
http://cassci.datastax.com/view/Dev/view/krummas/job/krummas-blake-8671-2-dtest/
http://cassci.datastax.com/view/Dev/view/krummas/job/krummas-blake-8671-2-testall/
> Give compaction strategy more control over where sstables are created, including for flushing and streaming.
> ------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-8671
> URL: https://issues.apache.org/jira/browse/CASSANDRA-8671
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Blake Eggleston
> Assignee: Blake Eggleston
> Fix For: 3.x
>
> Attachments: 0001-C8671-creating-sstable-writers-for-flush-and-stream-.patch, 8671-giving-compaction-strategies-more-control-over.txt
>
>
> This would enable routing different partitions to different disks based on some user defined parameters.
> My initial take on how to do this would be to make an interface from SSTableWriter, and have a table's compaction strategy do all SSTableWriter instantiation. Compaction strategies could then implement their own SSTableWriter implementations (which basically wrap one or more normal sstablewriters) for compaction, flushing, and streaming.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)