[
https://issues.apache.org/jira/browse/OAK-5893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chetan Mehrotra updated OAK-5893:
---------------------------------
Attachment: OAK-5893-v1.patch
[patch|^OAK-5893-v1.patch] for the change
With this a new {{NodeTraversalCallback}} is introduced which would be invoked
by {{IndexUpdate}} for each changed node and this would then be used to check
for lease expiry. With this we would be able to
# Detect abort check much earlier
# Possibly reduce the lease timeout as leases would be checked much frequently
now
[~catholicon] [~tmueller] Please review
> Async index abort should work even during traversals without index updates
> --------------------------------------------------------------------------
>
> Key: OAK-5893
> URL: https://issues.apache.org/jira/browse/OAK-5893
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: indexing
> Reporter: Vikas Saurabh
> Assignee: Chetan Mehrotra
> Priority: Minor
> Fix For: 1.8
>
> Attachments: OAK-5893-v1.patch
>
>
> With OAK-4262, we introduces a way to abort async index update. Currently,
> the check to abort is done when an index indeed gets updated. It would be
> useful to have abort check being done during traversal too (useful when
> reindexing is happening and traversal is on a tree which is not contributing
> to any index udpate)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)