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 2016/06/27 12:18:51 UTC

[jira] [Commented] (OAK-4514) AbstractDocumentStore to cleanup may interfere with DS disposal

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

Julian Reschke commented on OAK-4514:
-------------------------------------

Currently we get test failures with RDB as that throws with {{IllegalStateException}} when {{dispose}} is called multiple times.

[~mreutegg] - WDYT: change the behavior of {{RDBDocumentStore}}, or change the test framework?

> AbstractDocumentStore to cleanup may interfere with DS disposal
> ---------------------------------------------------------------
>
>                 Key: OAK-4514
>                 URL: https://issues.apache.org/jira/browse/OAK-4514
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: documentmk
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Minor
>
> {{AbstractDocumentStore}} current calls {{dispose}} on {{DocumentStore}} instances when cleaning up.
> This interferes with {{ResurrectNodeAfterRevisionGCTest}} which creates node store instances on top of the document stores, and calls {{dispose()} on them, leading to multiple calls to {{dispose}} on the same instance.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)