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

Stefan Egli commented on OAK-3390:
----------------------------------

or .. we could also demand DocumentStore to provide an adapter for the three 
cases we currently have (MissingLastRevSeeker, BlobReferenceIterator and 
VersionGCSupport) via a {{DocumentStore.adaptTo()}} - we could of course 
generalize this in an interface but so far the use cases are very limited and 
known..

> 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)

Reply via email to