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 ECC81C24C for ; Thu, 11 Dec 2014 13:28:13 +0000 (UTC) Received: (qmail 1580 invoked by uid 500); 11 Dec 2014 13:28:13 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 1536 invoked by uid 500); 11 Dec 2014 13:28: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 1523 invoked by uid 99); 11 Dec 2014 13:28:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Dec 2014 13:28:13 +0000 Date: Thu, 11 Dec 2014 13:28:13 +0000 (UTC) From: "Philo Yang (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CASSANDRA-8459) "autocompaction" on reads can prevent memtable space reclaimation 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-8459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14242511#comment-14242511 ] Philo Yang edited comment on CASSANDRA-8459 at 12/11/14 1:27 PM: ----------------------------------------------------------------- Hi, [~benedict], there is no node in my cluster that is unresponsive now to dump the heap. But there are some hprof files dumped by +HeapDumpOnOutOfMemoryError automatically, are they helpful to you? If so I'll upload one of them. was (Author: yangzhe1991): Hi, [~benedict], there is no node in my cluster that is unresponsive to dump the heap. But there are some hprof files dumped by +HeapDumpOnOutOfMemoryError automatically, are they helpful to you? If so I'll upload one of them. > "autocompaction" on reads can prevent memtable space reclaimation > ----------------------------------------------------------------- > > Key: CASSANDRA-8459 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8459 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Benedict > Assignee: Benedict > Fix For: 2.1.3 > > Attachments: 8459.txt > > > Memtable memory reclamation is dependent on reads always making progress, however on the collectTimeOrderedData critical path it is possible for the read to perform a _write_ inline, and for this write to block waiting for memtable space to be reclaimed. However the reclaimation is blocked waiting for this read to complete. > There are a number of solutions to this, but the simplest is to make the defragmentation happen asynchronously, so the read terminates normally. -- This message was sent by Atlassian JIRA (v6.3.4#6332)