Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 98467 invoked from network); 25 Jan 2009 20:55:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jan 2009 20:55:08 -0000 Received: (qmail 35823 invoked by uid 500); 25 Jan 2009 20:55:08 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 35782 invoked by uid 500); 25 Jan 2009 20:55:08 -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 35773 invoked by uid 99); 25 Jan 2009 20:55:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Jan 2009 12:55:07 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of elecharny@gmail.com designates 209.85.219.10 as permitted sender) Received: from [209.85.219.10] (HELO mail-ew0-f10.google.com) (209.85.219.10) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 25 Jan 2009 20:54:58 +0000 Received: by ewy3 with SMTP id 3so6646878ewy.1 for ; Sun, 25 Jan 2009 12:54:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=RNxiHINaI+Ox+6K2QN9P+GvtfltKzCXAdqWbpYao+9c=; b=tS23Yn0nKPtOClpyn9gCeA4zr400tFSbNv/l9mIlt9kUDlPXIed44qg5vURLGE4NMs ewjE+lDd49DecLHmDfrStMBbRCZ8irMhX+RQdy6/bNzvDwKOY5VVLKvRVKEwrOZH+oih /c4kYPzpzc/gn7T2DIrIPOdNR3h3W6sQXTX4c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=aN00E52VdarwR6RbujD7vqa2KGx27wXU8ycCXdrl9CWy8GWnOjZlsQzTDMvchk1hFm OqCPZ9IS++oRXunJQG0mIa/FzzRUlGAUiHv4F/xFys5uUxHLOmHQgl2cxmoELbBid/CV vrWt9T10h81zLABcWrTVn+AmMIXX1s4i7TAkY= Received: by 10.210.43.11 with SMTP id q11mr2233511ebq.155.1232916877739; Sun, 25 Jan 2009 12:54:37 -0800 (PST) Received: from ?192.168.0.11? (vol75-3-82-66-216-176.fbx.proxad.net [82.66.216.176]) by mx.google.com with ESMTPS id d25sm38591735nfh.76.2009.01.25.12.54.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 25 Jan 2009 12:54:36 -0800 (PST) Message-ID: <497CD18B.9070900@nextury.com> Date: Sun, 25 Jan 2009 21:54:35 +0100 From: Emmanuel Lecharny User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: Apache Directory Developers List Subject: [DRS] Changelog improvements Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Hi guys, it's essential that we have a decent Changelog system in order to be able to build a reliable server, plus use it for replication eventually. The currengt changelog system has many advantages : - it basically works - it's damn fast - it can be extended easily But it also has some drawbacks : - it currently stores changes info in memory - it stores forward and revert changes (we don't need revert usually) - it stores changes in LdifEntry which uses Attributes instead of the new Entry API We need to extend the ChangeLog API to get able to handle : - on disk storage - Entry instead of Attrinutes - only forward operations - fast lookup for an entry by its DN, or entryCSN/UUID attributes. We may also add a new interceptor for that purpose, namely a JournalInterceptor. Nothing complicated though. My idea is to use a simple file, being rotated when we put some tag, plus some JDBM index around to be able to lookup for DN, UUID or entryCSN. wdyt ? -- -- cordialement, regards, Emmanuel L�charny www.iktek.com directory.apache.org