[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] mtn: error: sqlite error: database is locked
From: |
Alvaro Herrera |
Subject: |
Re: [Monotone-devel] mtn: error: sqlite error: database is locked |
Date: |
Wed, 26 Dec 2007 15:30:16 -0300 |
User-agent: |
Mutt/1.5.17 (2007-11-01) |
Zack Weinberg wrote:
> On Dec 25, 2007 6:32 PM, Alvaro Herrera <address@hidden> wrote:
> > Why would the database care? If the appropriate constraints are in
> > place, the database itself would alert Monotone when an operation it is
> > attempting would conflict with another ongoing operation.
>
> In the present state of the code, Monotone wraps every access to the
> database in an EXCLUSIVE transaction. The work you are dismissing as
> unnecessary-if-only-we-used-a-different-backend is the work needed to
> make it not do that.
Oh, I see. To be honest this is the first time I hear about "exclusive
transactions". The concept does not really make much sense to me.
Perhaps in the SQLite view of the world it does.
--
Alvaro Herrera Valdivia, Chile Geotag: -39,815 -73,257
"No necesitamos banderas
No reconocemos fronteras" (Jorge González)
- [Monotone-devel] mtn: error: sqlite error: database is locked, Roland McGrath, 2007/12/23
- Re: [Monotone-devel] mtn: error: sqlite error: database is locked, Markus Schiltknecht, 2007/12/23
- Re: [Monotone-devel] mtn: error: sqlite error: database is locked, Stephen Leake, 2007/12/23
- Re: [Monotone-devel] mtn: error: sqlite error: database is locked, Zack Weinberg, 2007/12/24
- Re: [Monotone-devel] mtn: error: sqlite error: database is locked, Alvaro Herrera, 2007/12/25
- Re: [Monotone-devel] mtn: error: sqlite error: database is locked, Zack Weinberg, 2007/12/25
- Re: [Monotone-devel] mtn: error: sqlite error: database is locked, Alvaro Herrera, 2007/12/25
- Re: [Monotone-devel] mtn: error: sqlite error: database is locked, Zack Weinberg, 2007/12/26
- Re: [Monotone-devel] mtn: error: sqlite error: database is locked,
Alvaro Herrera <=
- Re: [Monotone-devel] mtn: error: sqlite error: database is locked, Peter Stirling, 2007/12/26
- Re: [Monotone-devel] mtn: error: sqlite error: database is locked, Alvaro Herrera, 2007/12/26
- Re: [Monotone-devel] mtn: error: sqlite error: database is locked, Chad Walstrom, 2007/12/26
- Re: [Monotone-devel] mtn: error: sqlite error: database is locked, Zack Weinberg, 2007/12/26
- Re: [Monotone-devel] mtn: error: sqlite error: database is locked, Alvaro Herrera, 2007/12/26
Re: [Monotone-devel] mtn: error: sqlite error: database is locked, Tobias Hunger, 2007/12/26