You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2017/03/02 13:27:45 UTC
[jira] [Updated] (OAK-5876) SplitDocumentCleanup should implement
Closeable
[ https://issues.apache.org/jira/browse/OAK-5876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Reschke updated OAK-5876:
--------------------------------
Attachment: OAK-5876.diff
proposed patch - [~mreutegg], can you sanity check?
> SplitDocumentCleanup should implement Closeable
> -----------------------------------------------
>
> Key: OAK-5876
> URL: https://issues.apache.org/jira/browse/OAK-5876
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: documentmk
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Attachments: OAK-5876.diff
>
>
> {{SplitDocumentCleanup}} currently does not close the {{Iterable}} holding {{splitDocGarbage}}. It should implement {{Closeable}} and forward calls to {{close()}} to the {{Iterable}}, if that happens to be {{Closeable}}.
> Likewise, {{VersionGCSupport}} should call {{close()} on {{SplitDocumentCleanup}} when done.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)