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 526B81743A for ; Fri, 30 Jan 2015 13:18:34 +0000 (UTC) Received: (qmail 10291 invoked by uid 500); 30 Jan 2015 13:18:34 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 10243 invoked by uid 500); 30 Jan 2015 13:18:34 -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 10231 invoked by uid 99); 30 Jan 2015 13:18:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jan 2015 13:18:34 +0000 Date: Fri, 30 Jan 2015 13:18:34 +0000 (UTC) From: "Marcus Eriksson (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CASSANDRA-8706) Make it possible to configure different compaction strategies for repaired and unrepaired data MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Marcus Eriksson created CASSANDRA-8706: ------------------------------------------ Summary: Make it possible to configure different compaction strategies for repaired and unrepaired data Key: CASSANDRA-8706 URL: https://issues.apache.org/jira/browse/CASSANDRA-8706 Project: Cassandra Issue Type: Improvement Reporter: Marcus Eriksson Fix For: 3.0 In CASSANDRA-8004 we introduced WrappingCompactionStrategy which handles repaired and unrepaired sstables for compaction - it acts as there is still a single compaction strategy, but underneath it runs 2 different instances of the configured strategy. Main purpose of this was to remove any duplicated repaired/unrepaired logic from the actual compaction strategies and collect them in one place. We should make it possible for users to configure different strategies for the different sets of data - if a user wants to run STCS on unrepaired data and LCS on repaired, it should be possible. This ticket includes replacing WrappingCompactionStrategy with something that does not extend AbstractCompactionStrategy as that part is quite confusing. -- This message was sent by Atlassian JIRA (v6.3.4#6332)