[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: can libsvn_fs handle parallel writes to the same txn?

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-05-22 21:00:38 CEST

On 5/22/06, Peter N. Lundblad <peter@famlundblad.se> wrote:

> Or just prevent a transaction to be open my multiple processes/threads at
> the same time. At least when you're in the process of applying a text
> (delta), doing other write operations to the transaction before that's
> done is forbidden by the API. Is it our responsibility to serialize
> access in such cases? If not, bailing out on multiple access instead
> of producing corrupt transaction is what I'm proposing.

It's just a matter of where you want to put the locking I suppose.
Either at the "open txn" part or more fine grained. Putting it at the
"open txn" part and seeing if it causes any practical problems for
something like ra_serf probably makes sense as a first pass.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon May 22 21:01:13 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.