jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Pfister (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1502) Journal log file rotation overwrites old files
Date Wed, 26 Mar 2008 09:37:24 GMT
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.


Mime
View raw message