[ 
https://issues.apache.org/jira/browse/OAK-1818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

angela updated OAK-1818:
------------------------
    Component/s: blob

> DataStore: log mechanism for important operations
> -------------------------------------------------
>
>                 Key: OAK-1818
>                 URL: https://issues.apache.org/jira/browse/OAK-1818
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: blob
>            Reporter: Thomas Mueller
>            Priority: Minor
>
> The FileDataStore can be shared by multiple repositories, which sometimes 
> leads to problems if not used or configured correctly.
> To avoid (or at least speed up analyzing) such problems, we could add log 
> files to the datastore, such that all important operations are logged there. 
> For example:
>     datastore/log_20140514_140410.txt
>     datastore/log_20140512_110343.txt
> Let's say the last 14 days of operations are kept, and older files are 
> removed. And let's say the following operations, each operation creating a 
> new log file, are logged: (a) opening the datastore, (b) datastore garbage 
> collection. Opening the datastore would log the repository home directory (or 
> some other information so we can track who uses the datastore). Garbage 
> collection would log the repository home (same as a), plus some statistics 
> about what was deleted, maybe even all the files that were deleted. 
> Each operation creates a new file so that sharing a datastore is possible.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to