[
https://issues.apache.org/jira/browse/OAK-6787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16195544#comment-16195544
]
Vikas Saurabh commented on OAK-6787:
------------------------------------
Patch lgtm.
bq. was thinking to use this when NodeStore is of type Clusterable
I'm guessing you are saying that seg-store can do a a very fast sub-tree
deletion!? If so, yes, I think that would be useful - I guess that check would
happen at the wiring end though, right?
> 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)