Re: sqlite locking and svn client concurrency
From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 26 Oct 2012 15:10:09 +0100
Johan Corveleyn <jcorvel_at_gmail.com> writes:
> - This 10 second timeout, for a read operation that is blocked by some
It's hard-coded, see BUSY_TIMEOUT in subversion/libsvn_subr/sqlite.c
> - If a read operation (with a "shared lock" I presume) squeezes in
Yes, I think so.
> - Does this also work for two writers? Or do they block out each other
The wc locks will exclude multiple writers providing all writers take a
> - With your remark about the workqueue making the read fail, is this
Yes.
> (and the above sequence may be part of a larger read operation that
Probably, but I've not written any so I don't know.
-- Join us this October at Subversion Live 2012 http://www.wandisco.com/svn-live-2012Received on 2012-10-26 16:10:52 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.