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

Konrad Windszus commented on OAK-3161:
--------------------------------------

I just figure out that if path is not set but FileDataStore is used the default 
(in AEM 6.1) for the datastore path is 
{{crx-quickstart/repository/repository/datastore}} which looks like a bug to me.

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

Reply via email to