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 895229C90 for ; Fri, 30 Mar 2012 14:18:48 +0000 (UTC) Received: (qmail 45706 invoked by uid 500); 30 Mar 2012 14:18:48 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 45673 invoked by uid 500); 30 Mar 2012 14:18:48 -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 45664 invoked by uid 99); 30 Mar 2012 14:18:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Mar 2012 14:18:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Fri, 30 Mar 2012 14:18:46 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 129F134E3D0 for ; Fri, 30 Mar 2012 14:18:26 +0000 (UTC) Date: Fri, 30 Mar 2012 14:18:26 +0000 (UTC) From: "Sylvain Lebresne (Updated) (JIRA)" To: commits@cassandra.apache.org Message-ID: <202840130.37975.1333117106077.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1842290724.7185.1332491488173.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CASSANDRA-4076) Remove get{Indexed,Sliced}ReadBufferSizeInKB methods MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-4076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sylvain Lebresne updated CASSANDRA-4076: ---------------------------------------- Attachment: 4076.txt Trivial patch attached. I'd like to get that in 1.1.0 just before this remove a (useless) option from the cassandra.yaml file and I want to avoid doing that on a minor release. Besides, this really just remove dead code. > Remove get{Indexed,Sliced}ReadBufferSizeInKB methods > ---------------------------------------------------- > > Key: CASSANDRA-4076 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4076 > Project: Cassandra > Issue Type: Improvement > Components: Core > Affects Versions: 1.0.0 > Reporter: Sylvain Lebresne > Priority: Trivial > Fix For: 1.1.0 > > Attachments: 4076.txt > > > Since CASSANDRA-3171, the DatabaseDescriptor.get{Indexed,Sliced}ReadBufferSizeInKB methods are dead code (they are used as bufferSize argument to SSTableReader.getFileDataInput but that method ignore the argument). This means in particular that we can remove the configuration option sliced_buffer_size_in_kb (we shouldn't do that in 1.0 which is why I targeted to 1.1.0, though we could add a message in 1.0 that this argument is ignored). -- 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