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

Re: svn_fs/svn_repo repository lock API

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 10 Aug 2012 00:15:05 +0100

Philip Martin <philip.martin_at_wandisco.com> writes:

> Yes, I think so. The process executes something like
>
> pragma locking_mode = exclusive;
> begin exclusive transaction;
> commit transaction;
>
> and then the lock persists until the database connection is closed or
> the process exits.

I think it might also work with a rollback instead of a commit since
exlusive locking mode doesn't release write locks until the database is
closed.

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2012-08-10 01:15:41 CEST

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.