Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 67848 invoked from network); 22 Apr 2008 01:18:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Apr 2008 01:18:43 -0000 Received: (qmail 18623 invoked by uid 500); 22 Apr 2008 01:18:43 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 18593 invoked by uid 500); 22 Apr 2008 01:18:43 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 18531 invoked by uid 99); 22 Apr 2008 01:18:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Apr 2008 18:18:43 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Apr 2008 01:18:07 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AF9E4234C0F6 for ; Mon, 21 Apr 2008 18:15:21 -0700 (PDT) Message-ID: <1044431062.1208826921718.JavaMail.jira@brutus> Date: Mon, 21 Apr 2008 18:15:21 -0700 (PDT) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-1502) Journal log file rotation overwrites old files In-Reply-To: <1391695561.1206524244432.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting updated JCR-1502: ------------------------------- Affects Version/s: core 1.4.2 Fix Version/s: core 1.4.3 > Journal log file rotation overwrites old files > ---------------------------------------------- > > Key: JCR-1502 > URL: https://issues.apache.org/jira/browse/JCR-1502 > Project: Jackrabbit > Issue Type: Bug > Components: clustering > Affects Versions: core 1.4.1, core 1.4.2 > Reporter: Dominique Pfister > Assignee: Dominique Pfister > Fix For: core 1.4.3 > > > Journal log files are rotated as follows: > journal.log.N -> journal.log.(N+1) > Because the list of files to be rotated is created with alphanumeric sort order > (descending), it may destroy files in the following situation: > journal.log.9 -> journal.log.10 > .. > journal.log.2 -> journal.log.3 > journal.log.10 -> journal.log.11 (!) > journal.log.1 -> journal.log.2 > i.e. journal.log.10 is overwritten by journal.log.9 and then moved. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.