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

Marcel Reutegger commented on OAK-6787:
---------------------------------------

What is the reason you are using {{nodeStore.reset(builder)}} instead of a more 
common {{builder = nodeStore.getRoot().builder()}}?

> Delete property index entries recursively in batches to avoid large 
> transaction
> -------------------------------------------------------------------------------
>
>                 Key: OAK-6787
>                 URL: https://issues.apache.org/jira/browse/OAK-6787
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: lucene
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>             Fix For: 1.8
>
>         Attachments: OAK-6787-v1.patch
>
>
> PropertyIndexCleaner currently remove the property index bucket in a single 
> remove. This would work fine with SegmentNodeStore but would cause issue with 
> DocumentNodeStore where it would result in a one large commit.
> To avoid this scenario we should implement recursive delete. This approach 
> would only be used if NodeStore implements Clusterable



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to