[
https://issues.apache.org/jira/browse/OAK-4719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15448379#comment-15448379
]
Alex Parvulescu commented on OAK-4719:
--------------------------------------
there's a different point I wanted to make wrt to the {{File.delete}} call. it
may return {{false}} and the old code used to take that into account while the
new one doesn't. I think it's perfectly safe to assume a {{false}} return does
not equal an {{IOException}} so this case needs to be taken into account, as it
was before.
> Marked files are not removed if compaction fails
> ------------------------------------------------
>
> Key: OAK-4719
> URL: https://issues.apache.org/jira/browse/OAK-4719
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: segment-tar
> Reporter: Francesco Mari
> Assignee: Francesco Mari
> Fix For: Segment Tar 0.0.12
>
>
> If compaction fails after the configured number of attempts, {{cleanup()}} is
> called to remove TAR files that might contain garbage generated during the
> compaction attempt. The files returned by this call are ignored, thus
> preventing this garbage from being removed from the system.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)