[
https://issues.apache.org/jira/browse/JCR-1502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dominique Pfister resolved JCR-1502.
------------------------------------
Resolution: Fixed
Fixed in trunk (641247) and 1.4 branch (641251).
> 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
> Reporter: Dominique Pfister
> Assignee: Dominique Pfister
>
> 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.