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 2014/05/14 14:43:15 UTC
[jira] [Created] (OAK-1818) DataStore: log mechanism for important
operations
Thomas Mueller created OAK-1818:
-----------------------------------
Summary: 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
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.2#6252)