ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bram de Kruijff (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACE-346) OBR FileBundleStore does not always update repository.xml
Date Mon, 29 Apr 2013 14:50:16 GMT

    [ https://issues.apache.org/jira/browse/ACE-346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13644544#comment-13644544
] 

Bram de Kruijff commented on ACE-346:
-------------------------------------

Comitted quick fix in 1477108. This changes the existing approach of keeping a map of all
files. 

However, I guess this approach can become a memory hog pretty fast. As the map seems to be
used for nothing else I think one magic hash would do the job just as well.
In addition, empty directories are not removed making the traversal unnecessarily expensive.
We should remove empty directories pro-actively when deleting resources. 

                
> OBR FileBundleStore does not always update repository.xml
> ---------------------------------------------------------
>
>                 Key: ACE-346
>                 URL: https://issues.apache.org/jira/browse/ACE-346
>             Project: ACE
>          Issue Type: Bug
>          Components: OBR
>            Reporter: Bram de Kruijff
>            Assignee: Bram de Kruijff
>
> FileBundleStore keeps track of changes and thus the need to reindex the repository based
on a flat <storedir> file list. As the layout is now hierarchical this misses changes
in existing directories.
> This is a regression introduced by ACE-316 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message