monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] auto updates


From: Brian May
Subject: Re: [Monotone-devel] auto updates
Date: Sun, 29 Oct 2006 17:05:13 +1100
User-agent: Mutt/1.5.13 (2006-08-11)

On Sun, Oct 29, 2006 at 04:58:22PM +1100, Brian May wrote:
> Mybe I am still confused, I would have though that pulling from a database
> inside a hook that has been trigered by an update to that database would
> cause lock contention.

Yes, I think I might still be confused - I can't see how that would
work, as the server appears to be only capable of processing one request
at a time (unless I am badly mistaken). So while it is still processing
the hook from the sync request, it cannot process a new request for the
pull request. The result is deadlock, with the pull waiting for the
server socket to become available, but this will never happen until the
pull completes.
-- 
Brian May <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]