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

Chetan Mehrotra commented on OAK-3642:
--------------------------------------

bummer ... changing this leads to 98 test failure in oak-core as in many cases 
InitialContent is used but ReferenceIndexEditorProvider is not registered

{noformat}
Tests in error: 
  queryOnStableRevision(org.apache.jackrabbit.oak.api.QueryTest): 
org.apache.jackrabbit.oak.api.CommitFailedException: OakIndexUpdate0001: 
Missing index provider detected for type [reference] on index 
[/oak:index/reference]
  testUniqueness(org.apache.jackrabbit.oak.api.UniquePropertyTest): 
org.apache.jackrabbit.oak.api.CommitFailedException: OakIndexUpdate0001: 
Missing index provider detected for type [reference] on index 
[/oak:index/reference]
  
testAdminConfiguration(org.apache.jackrabbit.oak.security.user.UserInitializerTest):
 org.apache.jackrabbit.oak.api.CommitFailedException: OakIndexUpdate0001: 
Missing index provider detected for type [reference] on index 
[/oak:index/reference]
  
testAnonymousConfiguration(org.apache.jackrabbit.oak.security.user.UserInitializerTest):
 org.apache.jackrabbit.oak.api.CommitFailedException: OakIndexUpdate0001: 
Missing index provider detected for type [reference] on index 
[/oak:index/reference]
  
testGetAuthorizable(org.apache.jackrabbit.oak.security.user.UserProviderTest): 
org.apache.jackrabbit.oak.api.CommitFailedException: OakIndexUpdate0001: 
Missing index provider detected for type [reference] on index 
[/oak:index/reference]
{noformat}

Would attempt it some later time

> Enable failing of commit upon Missing IndexEditor implementation by default
> ---------------------------------------------------------------------------
>
>                 Key: OAK-3642
>                 URL: https://issues.apache.org/jira/browse/OAK-3642
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.3.13
>
>         Attachments: OAK-3642.patch
>
>
> With OAK-3505 we exposed config option to enable failing of commit if any 
> IndexEditor is missing. The default should be changed to always fail the 
> commit



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

Reply via email to