jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1502) Journal log file rotation overwrites old files
Date Tue, 22 Apr 2008 01:15:21 GMT

     [ 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.


Mime
View raw message