Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-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 069C7609C for ; Wed, 22 Jun 2011 13:08:47 +0000 (UTC) Received: (qmail 62253 invoked by uid 500); 22 Jun 2011 13:08:46 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 62223 invoked by uid 500); 22 Jun 2011 13:08:46 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 62216 invoked by uid 99); 22 Jun 2011 13:08:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jun 2011 13:08:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Jun 2011 13:08:44 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id AE5D823889E0; Wed, 22 Jun 2011 13:08:23 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1138449 - /activemq/trunk/kahadb/src/main/java/org/apache/kahadb/page/Transaction.java Date: Wed, 22 Jun 2011 13:08:23 -0000 To: commits@activemq.apache.org From: dejanb@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110622130823.AE5D823889E0@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: dejanb Date: Wed Jun 22 13:08:23 2011 New Revision: 1138449 URL: http://svn.apache.org/viewvc?rev=1138449&view=rev Log: https://issues.apache.org/jira/browse/AMQ-3374 - long kahadb tx - parse long Modified: activemq/trunk/kahadb/src/main/java/org/apache/kahadb/page/Transaction.java Modified: activemq/trunk/kahadb/src/main/java/org/apache/kahadb/page/Transaction.java URL: http://svn.apache.org/viewvc/activemq/trunk/kahadb/src/main/java/org/apache/kahadb/page/Transaction.java?rev=1138449&r1=1138448&r2=1138449&view=diff ============================================================================== --- activemq/trunk/kahadb/src/main/java/org/apache/kahadb/page/Transaction.java (original) +++ activemq/trunk/kahadb/src/main/java/org/apache/kahadb/page/Transaction.java Wed Jun 22 13:08:23 2011 @@ -91,7 +91,7 @@ public class Transaction implements Iter // List of pages freed in this transaction private final SequenceSet freeList = new SequenceSet(); - private long maxTransactionSize = Integer.parseInt(System.getProperty("maxKahaDBTxSize", "" + 10485760)); + private long maxTransactionSize = Long.parseLong(System.getProperty("maxKahaDBTxSize", "" + 10485760)); private long size = 0;