Konrad Windszus created OAK-3161:
------------------------------------
Summary: Extend documentation for FileDataStore in
http://jackrabbit.apache.org/oak/docs/osgi_config.html#Jackrabbit_2_-_FileDataStore
Key: OAK-3161
URL: https://issues.apache.org/jira/browse/OAK-3161
Project: Jackrabbit Oak
Issue Type: Improvement
Components: doc
Reporter: Konrad Windszus
Currently in
http://jackrabbit.apache.org/oak/docs/osgi_config.html#Jackrabbit_2_-_FileDataStore
only the properties
path, minRecordLength, maxCachedBinarySize, cacheSizeInMB are described.
Some things are still missing though:
- repositoryHome (what is the difference to path?)
- encodeLengthInId
- for path it is not clear what the default is (because I can leave that
property out, so either this property is not mandatory or it has a default!)
There might be also some other properties which are not listed here. This is
especially important as there is no Manifest generated for that OSGi service
(where one could look up what can be configured). It is also hard to figure out
from looking at the code, since not only properties directly set on
https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/blob/datastore/AbstractDataStoreService.java
are supported, but also all fields accessible through setters on the
underlying Jackrabbit 2 Datastore
(https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/blob/datastore/AbstractDataStoreService.java#L63).
So probably it would be good to link the documentation of that here as well
(http://wiki.apache.org/jackrabbit/DataStore#Configuration).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)