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 B92FBECA9 for ; Tue, 27 Nov 2012 15:11:59 +0000 (UTC) Received: (qmail 41476 invoked by uid 500); 27 Nov 2012 15:11:59 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 40969 invoked by uid 500); 27 Nov 2012 15:11:58 -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 40927 invoked by uid 99); 27 Nov 2012 15:11:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2012 15:11:57 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of anchela@adobe.com designates 64.18.1.218 as permitted sender) Received: from [64.18.1.218] (HELO exprod6og125.obsmtp.com) (64.18.1.218) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2012 15:11:47 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob125.postini.com ([64.18.5.12]) with SMTP ID DSNKULTYHgPl7eG0P3dgIS7DgaCqhAH5z3Xk@postini.com; Tue, 27 Nov 2012 07:11:27 PST Received: from inner-relay-4.eur.adobe.com (inner-relay-4.adobe.com [193.104.215.14]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id qARF8Y1v026914 for ; Tue, 27 Nov 2012 07:08:34 -0800 (PST) Received: from nahub01.corp.adobe.com (nahub01.corp.adobe.com [10.8.189.97]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id qARFBNXL010948 for ; Tue, 27 Nov 2012 07:11:24 -0800 (PST) Received: from eurhub01.eur.adobe.com (10.128.4.30) by nahub01.corp.adobe.com (10.8.189.97) with Microsoft SMTP Server (TLS) id 8.3.279.1; Tue, 27 Nov 2012 07:11:23 -0800 Received: from angela.corp.adobe.com (10.132.1.18) by eurhub01.eur.adobe.com (10.128.4.111) with Microsoft SMTP Server id 8.3.279.1; Tue, 27 Nov 2012 15:11:21 +0000 Message-ID: <50B4D818.9020005@adobe.com> Date: Tue, 27 Nov 2012 16:11:20 +0100 From: Angela Schreiber User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: Subject: Re: OAK-343 considered harmful? References: In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org hi tom IMO that will not work for the case manfred is referring to as it is operating on the oak-api and not on jcr api. so -1 for that one. kind regards angela On 11/27/12 3:22 PM, Thomas Mueller wrote: > Hi, > > Currently it is planned to use the commit hook feature to update the > index. Is the commit hook called before saving? > > If it can't be easily supported, maybe a simple per-session map (uuid -> > path) could be used for temporary nodes, within oak-jcr? > > Regards, > Thomas > > > > On 11/27/12 3:08 PM, "Michael D�rig" wrote: > >> >> Hi, >> >> I think we should be able to address this by adding the capability to >> update the index in transient space already instead of waiting for the >> commit as Jukka mentioned [1]. >> >> Alex, Tom, do you think something along these lines would be feasible? >> >> Michael >> >> [1] >> https://issues.apache.org/jira/browse/OAK-343?focusedCommentId=13463852&pa >> ge=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#commen >> t-13463852 >> >> On 27.11.12 13:44, Manfred Baedke wrote: >>> Hi, >>> >>> I'm writing an LdapLoginModule using Angela's ExternalLoginModule >>> framework. This went very smoothly until I tried it with granite-oak, >>> when I ran into OAK-343: the UserProvider uses >>> IdentifierManager.getTree() which doesn't work for unsaved nodes due to >>> a stale search index. >>> OAK-343 looks pretty severe to me, though there hasn't been progress for >>> some time. Are there any plans to fix this in the near future? >>> >>> Best regards, >>> Manfred >