Return-Path: X-Original-To: apmail-activemq-issues-archive@minotaur.apache.org Delivered-To: apmail-activemq-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A451D194B4 for ; Fri, 29 Apr 2016 16:11:14 +0000 (UTC) Received: (qmail 47415 invoked by uid 500); 29 Apr 2016 16:11:13 -0000 Delivered-To: apmail-activemq-issues-archive@activemq.apache.org Received: (qmail 47170 invoked by uid 500); 29 Apr 2016 16:11:13 -0000 Mailing-List: contact issues-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 issues@activemq.apache.org Received: (qmail 46698 invoked by uid 99); 29 Apr 2016 16:11:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Apr 2016 16:11:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1CD4B2C1F6F for ; Fri, 29 Apr 2016 16:11:13 +0000 (UTC) Date: Fri, 29 Apr 2016 16:11:13 +0000 (UTC) From: "Gary Tully (JIRA)" To: issues@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMQ-5578) preallocate journal files 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/AMQ-5578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Tully resolved AMQ-5578. ----------------------------- Resolution: Fixed the test suite looks good without the metadata sync. https://issues.apache.org/jira/browse/AMQ-5603 introduces a preallocationScope=none that can disable. With the addition of async it is nice to be able to compare. > preallocate journal files > ------------------------- > > Key: AMQ-5578 > URL: https://issues.apache.org/jira/browse/AMQ-5578 > Project: ActiveMQ > Issue Type: Improvement > Components: Message Store > Affects Versions: 5.11.0 > Reporter: Gary Tully > Assignee: Gary Tully > Labels: journal, kahaDB, perfomance > Fix For: 5.14.0 > > > Our journals are append only, however we use the size to track journal rollover on recovery and replay. We can improve performance if we never update the size on disk and preallocate on creation. > Rework journal logic to ensure size is never updated. This will allow the configuration option from https://issues.apache.org/jira/browse/AMQ-4947 to be the default. -- This message was sent by Atlassian JIRA (v6.3.4#6332)