[
https://issues.apache.org/jira/browse/OAK-6787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16198372#comment-16198372
]
Chetan Mehrotra commented on OAK-6787:
--------------------------------------
bq. What is the reason you are using nodeStore.reset(builder) instead of a more
common builder = nodeStore.getRoot().builder()?
Aah thats an artifact of a previous approach I was trying where I was reusing
the older NodeBuilder and performing remove on that as part of traversal. Would
replace that call with explicitly creation of new builder instance
> 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)