Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 37324 invoked from network); 9 Jul 2008 14:10:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jul 2008 14:10:48 -0000 Received: (qmail 3626 invoked by uid 500); 9 Jul 2008 14:10:48 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 3596 invoked by uid 500); 9 Jul 2008 14:10:48 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 3585 invoked by uid 99); 9 Jul 2008 14:10:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 07:10:48 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.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; Wed, 09 Jul 2008 14:09:55 +0000 Received: by wf-out-1314.google.com with SMTP id 27so3191062wfd.31 for ; Wed, 09 Jul 2008 07:10:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type:references :x-google-sender-auth; bh=iEZMq+eYV8vA+8aJ+NywkDLUVdBHlQnOhOFG9bGBEHY=; b=FT/aWoakg/bq9TQy3HWf0rBsjXlk4JM5g5V+ttjTrC/7/S76uvvkRAGvr9x96sCNnu AqdcOQ3GWXlwNZSt0ZGAvLiotgmk582oDIT65LYns+W1HrItF5gsSfeDsHZTraI2KM+4 aEFG5EMrBWNXFMElPJ+xD0CSzhfFJG8+kMies= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:references:x-google-sender-auth; b=kijr/BX+/1wm7AXxoaHhGjocQNIRbK5SQzu09nR3QwrHum3Ilq/6GTKCmaGurunRGO Wbyb+OjEMk4Cs9hqM3fCe3swazKSyB7I8Y/4DkhwoCtn/RWIeTvnr/dtiFjCImwBoH3M Nn1S8l1YpUfsJav1JraYKACb7O66Lou6Jaek4= Received: by 10.142.47.6 with SMTP id u6mr2288146wfu.300.1215612617103; Wed, 09 Jul 2008 07:10:17 -0700 (PDT) Received: by 10.143.15.15 with HTTP; Wed, 9 Jul 2008 07:10:15 -0700 (PDT) Message-ID: Date: Wed, 9 Jul 2008 10:10:15 -0400 From: "Alex Karasulu" Sender: akarasulu@gmail.com To: users@directory.apache.org, elecharny@apache.org Subject: Re: Transaction for interceptor In-Reply-To: <4874C5B9.1030503@apache.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5_28793669.1215612617052" References: <4874C5B9.1030503@apache.org> X-Google-Sender-Auth: 494b2aa02835f30a X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_5_28793669.1215612617052 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline There's still a lot to do. The default change log as it is implemented today is not fully capable of providing what is needed in production and is devised just for rollbacks in our tests. It's definitely a good start though - thanks for pointing it out. Alex On Wed, Jul 9, 2008 at 10:05 AM, Emmanuel Lecharny wrote: > Tanja Ertl wrote: > >> Hi Emmanuel, >> >> would a Stored Procedure provide me with such a transactional behaviour? >> Reading fast over the document I would guess not. >> >> > In combinaisson with the ChangeLog service, yes. The changeLog intercepto= r > stores a revert operation for each modification done, associated with a > unique id. If the operation fails, you can revert to a specific id (like = in > subversion). > > This is how we handle the tests for the server : instead of starting a ne= w > instance of the server for each test (wich is a costly operation when you > have hundred of tests), we revert the previous modifications done by the > previous test, and restore the server back to its initial state. > > I'm pretty sure that it could fit your need. Here is some documentation > about the changeLog feature : > > http://directory.apache.org/apacheds/1.5/versioning-and-snapshots.html > > > -- > -- > cordialement, regards, > Emmanuel L=E9charny > www.iktek.com > directory.apache.org > > > ------=_Part_5_28793669.1215612617052--