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 C86B29864 for ; Thu, 22 Dec 2011 23:05:52 +0000 (UTC) Received: (qmail 57033 invoked by uid 500); 22 Dec 2011 23:05:52 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 57005 invoked by uid 500); 22 Dec 2011 23:05:52 -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 56997 invoked by uid 99); 22 Dec 2011 23:05:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Dec 2011 23:05:52 +0000 X-ASF-Spam-Status: No, hits=-2002.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Dec 2011 23:05:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D9C6F124A73 for ; Thu, 22 Dec 2011 23:05:30 +0000 (UTC) Date: Thu, 22 Dec 2011 23:05:30 +0000 (UTC) From: "T Jake Luciani (Commented) (JIRA)" To: commits@cassandra.apache.org Message-ID: <1407603325.40865.1324595130893.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <122785806.772.1315448048847.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-3155) Secondary index should report it's memory consumption 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-3155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175133#comment-13175133 ] T Jake Luciani commented on CASSANDRA-3155: ------------------------------------------- attached a different approach. The polymorphic approach would still be clunky because it includes self, so you need to get self + indexes. latest patch seems more readable. > Secondary index should report it's memory consumption > ----------------------------------------------------- > > Key: CASSANDRA-3155 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3155 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 1.0.0 > Reporter: Jason Rutherglen > Assignee: T Jake Luciani > Priority: Minor > Fix For: 1.0.7 > > Attachments: v1-0001-CASSANDRA-3155-report-all-live-index-memory.txt > > > Non-CFS backed secondary indexes will consume RAM which should be reported back to Cassandra to be factored into it's flush by RAM amount. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira