Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-1502

Journal log file rotation overwrites old files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • core 1.4.1, core 1.4.2
    • core 1.4.3
    • clustering
    • None

    Description

      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.

      Attachments

        Activity

          People

            dpfister Dominique Pfister
            dpfister Dominique Pfister
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: