Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 46939 invoked from network); 26 Jan 2009 15:59:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jan 2009 15:59:25 -0000 Received: (qmail 87940 invoked by uid 500); 26 Jan 2009 15:59:25 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 87894 invoked by uid 500); 26 Jan 2009 15:59:25 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 87885 invoked by uid 99); 26 Jan 2009 15:59:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jan 2009 07:59:25 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of akarasulu@gmail.com designates 209.85.200.168 as permitted sender) Received: from [209.85.200.168] (HELO wf-out-1314.google.com) (209.85.200.168) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jan 2009 15:59:17 +0000 Received: by wf-out-1314.google.com with SMTP id 27so6750168wfd.31 for ; Mon, 26 Jan 2009 07:58:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=St7UqmwxGokBWmKChFQxIHBdSeD/Y6sqt0jPb3PG3EE=; b=gZSmag5QeOcqLk/3n0mZzUJHpGnJm/SPmwjwYGBjNrvZFjkIYFNUQgIkkV+mzbLwta bT5tw53edoZl98AAeyA3ce44Sxn3rRokwFnLd+Oxs282JKwL0ZY9ZedWTyYZtGNBfOL2 d+bj2UfguV6RzabS6yDiDMS8O1OwGshA/ylSI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=BIXccFnTITB8fHz9zubvfiNT4t+6t9Nu03bxq6fR2ET6ByETdcmPqXSkx4p5OPofN7 WOxfKs0qm+BP09Dc6s7ivhX4fxX9FG1qkwBOawZhOGiuxjhr68JvBbRHJXUKVJLM6sfB A7vh13IUjZPJnRM2aj5BxbJ8KYrei7kmmQtFM= MIME-Version: 1.0 Received: by 10.142.44.11 with SMTP id r11mr1414829wfr.249.1232985535723; Mon, 26 Jan 2009 07:58:55 -0800 (PST) In-Reply-To: <497D68F3.6050202@gmail.com> References: <497CD18B.9070900@nextury.com> <497D68F3.6050202@gmail.com> Date: Mon, 26 Jan 2009 10:58:55 -0500 Message-ID: Subject: Re: [DRS] Changelog improvements From: Alex Karasulu To: Apache Directory Developers List Content-Type: multipart/alternative; boundary=000e0cd311a2deb9da046164d00e X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd311a2deb9da046164d00e Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Mon, Jan 26, 2009 at 2:40 AM, Kiran Ayyagari wrote: > Emmanuel Lecharny wrote: > >> - fast lookup for an entry by its DN, or entryCSN/UUID attributes. >> > We need to allow duplicates in the DN index, there will be collisions. > > How do we access CSN/UUID I think, this JournalInterceptor will be before > the > ReplicationInterceptor then we don't have access to CSN. One way would be > to > create these values in JournalInterceptor and pass on to > ReplicationInterceptor > The server should be generating entryUUID values and entryCSN operational attributes for all entries and changes respectively. This should be done even if replication is not enabled. So it's best if the code generating these be separated from mitosis and put into the operational interceptor. Alex --000e0cd311a2deb9da046164d00e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Mon, Jan 26, 2009 at 2:40 AM, Kiran A= yyagari <ay= yagarikiran@gmail.com> wrote:
Emmanuel Lecharny wrote:
- fast lookup = for an entry by its DN, or entryCSN/UUID attributes.
We need to allow duplicates in the DN index, there will be collisions.

How do we access CSN/UUID I think, this JournalInterceptor will be before t= he
ReplicationInterceptor then we don't have access to CSN. One way would = be to
create these values in JournalInterceptor and pass on to ReplicationInterce= ptor

The server should be generating entryUUID val= ues and entryCSN operational attributes for all entries and changes respect= ively.  This should be done even if replication is not enabled. So it&= #39;s best if the code generating these be separated from mitosis and put i= nto the operational interceptor.
 
Alex
--000e0cd311a2deb9da046164d00e--