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/07 14:00:40 UTC

[jira] [Comment Edited] (OAK-5876) SplitDocumentCleanup should implement Closeable

    [ https://issues.apache.org/jira/browse/OAK-5876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15899415#comment-15899415 ] 

Julian Reschke edited comment on OAK-5876 at 3/7/17 1:59 PM:
-------------------------------------------------------------

trunk: [r1785283|http://svn.apache.org/r1785283]
1.6: [r1785837|http://svn.apache.org/r1785837]
1.4: [r1785840|http://svn.apache.org/r1785840]



was (Author: reschke):
trunk: [r1785283|http://svn.apache.org/r1785283]
1.6: [r1785837|http://svn.apache.org/r1785837]


> 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
>              Labels: candidate_oak_1_0, candidate_oak_1_2
>             Fix For: 1.4.15, 1.7.0, 1.8, 1.6.2
>
>         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)