Return-Path: X-Original-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B990F9326 for ; Wed, 25 Jul 2012 13:42:36 +0000 (UTC) Received: (qmail 29306 invoked by uid 500); 25 Jul 2012 13:42:36 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 29190 invoked by uid 500); 25 Jul 2012 13:42:35 -0000 Mailing-List: contact oak-dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-dev@jackrabbit.apache.org Received: (qmail 29156 invoked by uid 99); 25 Jul 2012 13:42:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2012 13:42:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 1A868142860 for ; Wed, 25 Jul 2012 13:42:35 +0000 (UTC) Date: Wed, 25 Jul 2012 13:42:35 +0000 (UTC) From: =?utf-8?Q?Michael_D=C3=BCrig_=28JIRA=29?= To: oak-dev@jackrabbit.apache.org Message-ID: <1795574717.101126.1343223755111.JavaMail.jiratomcat@issues-vm> In-Reply-To: <2077943541.35258.1336411130136.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (OAK-88) Auto-refresh mode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OAK-88?page=3Dcom.atlassian.jir= a.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13422265= #comment-13422265 ]=20 Michael D=C3=BCrig commented on OAK-88: ---------------------------------- Also note that some of the tests in {{RepositoryTest}} and {{CompatibilityI= ssuesTest}} fail with the auto refresh option enabled. This is expected sin= ce these tests explicitly check for the specific behaviour of sessions boun= d to a certain revision. This should be easy to fix once we have a mechanis= m to obtain (non) auto refresh sessions.=20 =20 > 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 alway= s reflect the latest state of the repository. > One way of doing that would be some "auto-refresh" mode that makes the se= ssion 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() met= hod can be optimized to a no-op in case the underlying repository hasn't ch= anged. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira