jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1722) Data Store backup: need a way to delay deleting files (garbage collection)
Date Fri, 22 Aug 2008 14:56:44 GMT
Data Store backup: need a way to delay deleting files (garbage collection)

                 Key: JCR-1722
                 URL: https://issues.apache.org/jira/browse/JCR-1722
             Project: Jackrabbit
          Issue Type: New Feature
          Components: jackrabbit-core
            Reporter: Thomas Mueller
            Assignee: Thomas Mueller
             Fix For: 1.5

During a backup, objects in the data store must not be modified or deleted. Otherwise the
backup is consistent.

Objects in the data store are never modified. The only problem is if objects are deleted while
the backup is running. The data store garbage collection is the only place where objects are

There should be a way for a backup tool to 'flag' the data store (file data store and database
data store) to not delete entries. For the file data store, this could be done by placing
a specially named file in the root folder. For the database data store a specially named entry
could be used. Another idea is to use an in-memory state only, however this solution doesn't
work if multiple repositories share the same data store.

To support shared data stores, the specially named file name / object name should consist
of a fixed part (for example the prefix 'stopdelete') and a unique id (for example a UUID).

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message