[
https://issues.apache.org/jira/browse/OAK-4280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15257753#comment-15257753
]
Michael Dürig commented on OAK-4280:
------------------------------------
A possible fix would be to add a interrupt flag to
{{SegmentWriter.SegmentWriteOperation}} and check that in each recursive call
to {{SegmentWriter.SegmentWriteOperation#writeNode}}.
> Compaction cannot be cancelled
> -------------------------------
>
> Key: OAK-4280
> URL: https://issues.apache.org/jira/browse/OAK-4280
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: segment-next
> Reporter: Michael Dürig
> Assignee: Alex Parvulescu
> Labels: compaction, gc
> Fix For: 1.6
>
>
> As a result of the de-duplication cache based online compaction approach from
> OAK-3348 compaction cannot be cancelled any more (in the sense of OAK-3290).
> As I assume we still need this feature we should look into ways to
> re-implement it on top of the current approach.
> Also I figure implementing a [partial compaction |
> https://issues.apache.org/jira/browse/OAK-4122?focusedCommentId=15223924&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15223924]
> approach on top of a commit scheduler (OAK-4122) would need a feature of
> this sort.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)