You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2015/05/29 16:12:18 UTC

[jira] [Resolved] (OAK-1818) DataStore: log mechanism for important operations

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

Thomas Mueller resolved OAK-1818.
---------------------------------
    Resolution: Won't Fix

I no longer think this is needed.

> 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)