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 5DDF210561 for ; Fri, 19 Dec 2014 17:31:14 +0000 (UTC) Received: (qmail 72821 invoked by uid 500); 19 Dec 2014 17:31:14 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 72789 invoked by uid 500); 19 Dec 2014 17:31:14 -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 72777 invoked by uid 99); 19 Dec 2014 17:31:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Dec 2014 17:31:14 +0000 Date: Fri, 19 Dec 2014 17:31:14 +0000 (UTC) From: "Benedict (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-8499) Ensure SSTableWriter cleans up properly after failure 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-8499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14253683#comment-14253683 ] Benedict commented on CASSANDRA-8499: ------------------------------------- Everytime we fail to complete a flush or compaction we will leak the bloom filter data, so it is probably not _that_ uncommon. It's also a pretty small fix. But pretty agnostic about it, really, since clusters seem to have been surviving with it for years. > Ensure SSTableWriter cleans up properly after failure > ----------------------------------------------------- > > Key: CASSANDRA-8499 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8499 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Benedict > Assignee: Benedict > Fix For: 2.0.12 > > Attachments: 8499-20.txt, 8499-21.txt > > > In 2.0 we do not free a bloom filter, in 2.1 we do not free a small piece of offheap memory for writing compression metadata. In both we attempt to flush the BF despite having encountered an exception, making the exception slow to propagate. -- This message was sent by Atlassian JIRA (v6.3.4#6332)