[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Re: Re-creating a depot?
From: |
Nathaniel Smith |
Subject: |
Re: [Monotone-devel] Re: Re-creating a depot? |
Date: |
Fri, 16 Jan 2004 17:12:54 -0800 |
User-agent: |
Mutt/1.5.5.1+cvs20040105i |
On Fri, Jan 16, 2004 at 05:19:13PM -0500, graydon hoare wrote:
> sounds like "bug". it ought to report locking failure if it's locked,
> otherwise let you go. though, honestly, I haven't investigated
> concurrent access to a single database very much. sqlite supposedly does
> handle it, but I haven't given it a real shake.
No, somehow monotone always locks the whole database while running.
(I remember having some fun figuring this out when I had C-z'ed some
running monotone and then forgotten about it...). I'm not entirely
sure why.
It really is locking, I think, not just a funny bug. If I start a
monotone process and then run 'sqlite monotone.db', sqlite starts
up fine, but any commands give "Error: database is locked", a much
less ambiguous diagnostic than monotone gives...
-- Nathaniel
--
Damn the Solar System. Bad light; planets too distant; pestered with
comets; feeble contrivance; could make a better one myself.
-- Lord Jeffrey