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

Chetan Mehrotra commented on OAK-4512:
--------------------------------------

The OSGi part can be simplified. You can have a normal direct static reference 
to {{MountInfoProvider}} as it would always be registered. If no mount 
configured a default NOOP implementation would be registered. So you can can 
just have a single class. That would register a validator if non default mounts 
are provided. If it detects a default setup then no validator would be 
registered.



> Detect and log commits to the read-only stores
> ----------------------------------------------
>
>                 Key: OAK-4512
>                 URL: https://issues.apache.org/jira/browse/OAK-4512
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Florin Iordache
>         Attachments: OAK-4512-patch.diff
>
>
> Since the read-only stores will be immutable we should be able to detect 
> commits made against them and log an error message via a commit validation 
> provider.



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

Reply via email to