jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-3390) Avoid instanceof check in DocumentNodeStore
Date Thu, 10 Sep 2015 14:24:46 GMT

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

Julian Reschke commented on OAK-3390:
-------------------------------------

I think we shouldn't conflate the two issues. 1) is making the DS APIs powerful enough so
that callers do not special-case certain implementations. 2) is the problem of wrapper classes
and extension interfaces. For 1) we have Thomas' proposal (https://issues.apache.org/jira/browse/OAK-3213),
for 2) I'd prefer something like my proposal above.

> Avoid instanceof check in DocumentNodeStore
> -------------------------------------------
>
>                 Key: OAK-3390
>                 URL: https://issues.apache.org/jira/browse/OAK-3390
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, mongomk
>    Affects Versions: 1.3.4
>            Reporter: Marcel Reutegger
>             Fix For: 1.3.7
>
>
> The instanceof MongoDocumentStore check does not work anymore when the store is wrapped
with e.g. the LeaseCheckDocumentStoreWrapper.



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

Mime
View raw message