Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 72281200AE4 for ; Wed, 25 May 2016 18:22:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6F883160A2E; Wed, 25 May 2016 16:22:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8CBBC160A39 for ; Wed, 25 May 2016 18:22:14 +0200 (CEST) Received: (qmail 63595 invoked by uid 500); 25 May 2016 16:22:13 -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 63518 invoked by uid 99); 25 May 2016 16:22:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 May 2016 16:22:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1D32A2C1F6A for ; Wed, 25 May 2016 16:22:13 +0000 (UTC) Date: Wed, 25 May 2016 16:22:13 +0000 (UTC) From: "Blake Eggleston (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-11849) Potential data directory problems due to CFS getDirectories logic MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 25 May 2016 16:22:15 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-11849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15300334#comment-15300334 ] Blake Eggleston commented on CASSANDRA-11849: --------------------------------------------- | *3.0* | *trunk* | | [branch|https://github.com/bdeggleston/cassandra/tree/11849-3.0] | [branch|https://github.com/bdeggleston/cassandra/tree/11849-trunk] | | [dtest|http://cassci.datastax.com/view/Dev/view/bdeggleston/job/bdeggleston-11849-3.0-dtest/] | [dtest|http://cassci.datastax.com/view/Dev/view/bdeggleston/job/bdeggleston-11849-trunk-dtest/] | | [testall|http://cassci.datastax.com/view/Dev/view/bdeggleston/job/bdeggleston-11849-3.0-testall/] | [testall|http://cassci.datastax.com/view/Dev/view/bdeggleston/job/bdeggleston-11849-trunk-testall/] | > Potential data directory problems due to CFS getDirectories logic > ----------------------------------------------------------------- > > Key: CASSANDRA-11849 > URL: https://issues.apache.org/jira/browse/CASSANDRA-11849 > Project: Cassandra > Issue Type: Bug > Reporter: T Jake Luciani > Assignee: Blake Eggleston > > CASSANDRA-8671 added the ability to change the data directory based on the compaction strategy. > Since nothing uses this yet we haven't hit any issues but reading the code I see potential bugs for things like Transaction log cleanup and CFS initialization since these all use the default {{Directories}} location from the yaml. > * {{Directories}} is passed into CFS constructor then possibly disregarded. > * Startup checks like scrubDataDirectories are all using default Directories locations. > * StandaloneSSTableUtil -- This message was sent by Atlassian JIRA (v6.3.4#6332)