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 AF58AE897 for ; Sun, 3 Feb 2013 10:42:13 +0000 (UTC) Received: (qmail 19427 invoked by uid 500); 3 Feb 2013 10:42:13 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 19396 invoked by uid 500); 3 Feb 2013 10:42: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 19375 invoked by uid 99); 3 Feb 2013 10:42:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Feb 2013 10:42:12 +0000 Date: Sun, 3 Feb 2013 10:42:12 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-5193) Memtable flushwriter can pick a blacklisted directory 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-5193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13569748#comment-13569748 ] Jonathan Ellis commented on CASSANDRA-5193: ------------------------------------------- +1 > Memtable flushwriter can pick a blacklisted directory > ----------------------------------------------------- > > Key: CASSANDRA-5193 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5193 > Project: Cassandra > Issue Type: Bug > Affects Versions: 1.2.1 > Reporter: Aleksey Yeschenko > Assignee: Aleksey Yeschenko > Fix For: 1.2.2 > > Attachments: 5193.txt > > > The top-level data directory will be picked by DiskAwareRunnable (directory = Directories.getLocationCapableOfSize(writeSize)), and the top-level data directory itself might not be blacklisted (most likely won't be). > For the same reason we can't just add a blacklist-check in the middle of Directories#getLocationCapableOfSize - most often it's the sstable directory that gets blacklisted. > The issue seems to be caused by/related to CASSANDRA-4292, which was committed just two days prior 2116-2118 and undid some blacklist-aware directory-picking logic. > Anyway, DiskAwareRunnable should be altered to respect directory blacklist. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira