Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F8AB18985 for ; Wed, 6 May 2015 10:35:01 +0000 (UTC) Received: (qmail 97213 invoked by uid 500); 6 May 2015 10:35:00 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 97172 invoked by uid 500); 6 May 2015 10:35:00 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 97160 invoked by uid 99); 6 May 2015 10:35:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 May 2015 10:35:00 +0000 Date: Wed, 6 May 2015 10:35:00 +0000 (UTC) From: "Marcus Eriksson (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-8671) Give compaction strategy more control over where sstables are created, including for flushing and streaming. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-8671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14530310#comment-14530310 ] Marcus Eriksson commented on CASSANDRA-8671: -------------------------------------------- It will be ready for review soon, then it depends on timing with 8099 I guess > 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 > > > 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)