Return-Path: Delivered-To: apmail-jakarta-slide-dev-archive@www.apache.org Received: (qmail 70561 invoked from network); 23 Nov 2005 13:41:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Nov 2005 13:41:05 -0000 Received: (qmail 80950 invoked by uid 500); 23 Nov 2005 13:40:49 -0000 Delivered-To: apmail-jakarta-slide-dev-archive@jakarta.apache.org Received: (qmail 80571 invoked by uid 500); 23 Nov 2005 13:40:46 -0000 Mailing-List: contact slide-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Slide Developers Mailing List" Reply-To: "Slide Developers Mailing List" Delivered-To: mailing list slide-dev@jakarta.apache.org Received: (qmail 80515 invoked by uid 99); 23 Nov 2005 13:40:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Nov 2005 05:40:45 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of eulguignol@gmail.com designates 64.233.162.198 as permitted sender) Received: from [64.233.162.198] (HELO zproxy.gmail.com) (64.233.162.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Nov 2005 05:41:33 -0800 Received: by zproxy.gmail.com with SMTP id 13so197959nzp for ; Wed, 23 Nov 2005 05:39:40 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OQc6TTq0HDxYBwbo5+BDpR9SwakhTTTtCRLttNbNRndzcXLJiuPisLsg1kC7af1ugjt7oj1P765DS5d5nQPwCrY0yctuq8VqS5y1gtMTezxoFqiR6TnbgbE0IqNWwiWkwPvamglVc6Pu94Ovz3ouFlewr5tz5s1cExxq6XWWpZo= Received: by 10.64.199.9 with SMTP id w9mr5154993qbf; Wed, 23 Nov 2005 05:39:35 -0800 (PST) Received: by 10.64.21.3 with HTTP; Wed, 23 Nov 2005 05:39:34 -0800 (PST) Message-ID: Date: Wed, 23 Nov 2005 14:39:34 +0100 From: Guillaume Bailleul To: Slide Developers Mailing List Subject: Re: transactions in slide In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N That is one of my questions :-) a LOCK method modify the node file associated with the collection or file : a lock appear in the ".def.xml". It seems to be different with transaction. Are transaction only stored in work ? 2005/11/22, Ray Sprinkle : > A little more info for the pool: Slide transactions are tracked as a spe= cial type of lock in the lock table (or file). > > -----Original Message----- > From: Guillaume Bailleul [mailto:eulguignol@gmail.com] > Sent: Tuesday, November 22, 2005 10:11 AM > To: Slide Developers Mailing List > Subject: Re: transactions in slide > > Thank you for your help, > > My question is more about what is doing slide in the callback called by J= TA. How is the work directory used... > Hope some slide developers has some data about this. Reading source code = without guidelines is not so easy :-) > > > > 2005/11/22, "Honor=E9 David N." : > > Hi, > > > > Slide transactions are based on JTA (which stand for java transaction = api). > > Each slide store is an XAResource. > > > > When you do a begin/commit/rollback (in the NamespaceToken) Slide > > transmit to JTA, and JTA call slide 's store back. > > > > I think it use one-phase commit (but not sure). > > > > You can add (enlist) any other XAResource instance to the transaction > > and then the methods commit/rollback will be called. > > > > I hope this will help you a little. > > > > Guillaume Bailleul wrote: > > Hi all, > > > > I'm looking for documentation on how work transactions in slide. > > > > I'm trying to make a working failover system on something like this: a > > slide server stores files on nfs partitions. If the slide server > > breaks, a second server do the job. I'm looking how to make it > > possible, what to do with started transactions, how to come back to > > the primary machine. > > > > To do this, I need to understand how transactions works internally > > with slide. So if you have some documentation, or some time ... > > > > Thanks for your help, > > Best Regards > > > > Guillaume > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > slide-dev-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: > > slide-dev-help@jakarta.apache.org > > > > > > > > -- > > ________________________________ > > Honor=E9 David N. > > Projet DISSCO (http://www.meteo.be/DISSCO/) > > > > email: dho@oma.be > > tel: 02 37 30 530 > > ________________________________ > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > slide-dev-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: > > slide-dev-help@jakarta.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: slide-dev-help@jakarta.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: slide-dev-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: slide-dev-help@jakarta.apache.org