[
https://issues.apache.org/jira/browse/OAK-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13422265#comment-13422265
]
Michael Dürig commented on OAK-88:
----------------------------------
Also note that some of the tests in {{RepositoryTest}} and
{{CompatibilityIssuesTest}} fail with the auto refresh option enabled. This is
expected since these tests explicitly check for the specific behaviour of
sessions bound to a certain revision. This should be easy to fix once we have a
mechanism to obtain (non) auto refresh sessions.
> Auto-refresh mode
> -----------------
>
> Key: OAK-88
> URL: https://issues.apache.org/jira/browse/OAK-88
> Project: Jackrabbit Oak
> Issue Type: New Feature
> Components: jcr
> Reporter: Jukka Zitting
>
> We should have optional support for clients that assume sessions to always
> reflect the latest state of the repository.
> One way of doing that would be some "auto-refresh" mode that makes the
> session refresh itself whenever any JCR method call is made. The performance
> hit for such a mode should be reasonably small as long as the refresh()
> method can be optimized to a no-op in case the underlying repository hasn't
> changed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira