FileDataStore: garbage collection can delete files that are still needed
------------------------------------------------------------------------

                 Key: JCR-2063
                 URL: https://issues.apache.org/jira/browse/JCR-2063
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-core
            Reporter: Thomas Mueller
            Assignee: Thomas Mueller


It looks like the FileDataStore garbage collection (both regular scan and 
persistence manager scan) can delete files that are still needed.

Currently it looks like the reason is the last access time resolution of the 
operating system. This is 2 seconds for FAT and Mac OS X, NTFS 100 ns, and 1 
second for other file systems. That means file that are scanned at the very 
beginning are sometimes deleted, because they have a later last modified time 
then when the scan was started.

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

Reply via email to