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 9A772CDBE for ; Mon, 21 May 2012 21:06:42 +0000 (UTC) Received: (qmail 54904 invoked by uid 500); 21 May 2012 21:06:42 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 54877 invoked by uid 500); 21 May 2012 21:06:42 -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 54869 invoked by uid 99); 21 May 2012 21:06:42 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 May 2012 21:06:42 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 3214F14281C for ; Mon, 21 May 2012 21:06:42 +0000 (UTC) Date: Mon, 21 May 2012 21:06:42 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: <237730499.5170.1337634402210.JavaMail.jiratomcat@issues-vm> In-Reply-To: <168559746.659.1337490162475.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (CASSANDRA-4263) LeveledManifest.maxBytesForLevel calculates wrong for sstable_size_in_mb larger than 512m 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-4263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-4263: -------------------------------------- Reviewer: jbellis Fix Version/s: (was: 1.2) 1.1.1 Assignee: Dave Brosius Let's go ahead to commit to 1.1 as well. > LeveledManifest.maxBytesForLevel calculates wrong for sstable_size_in_mb larger than 512m > ----------------------------------------------------------------------------------------- > > Key: CASSANDRA-4263 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4263 > Project: Cassandra > Issue Type: Bug > Components: Core > Reporter: Dave Brosius > Assignee: Dave Brosius > Priority: Trivial > Fix For: 1.1.1 > > Attachments: use_long_math.diff > > > need to use long math > if (level == 0) > return 4 * maxSSTableSizeInMB * 1024 * 1024; -- 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