monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] [RFC] Monotone NETSYNC Hook Extension & Abstraction


From: Thomas Keller
Subject: Re: [Monotone-devel] [RFC] Monotone NETSYNC Hook Extension & Abstraction Layer
Date: Sun, 23 Sep 2007 23:53:56 +0200
User-agent: Thunderbird 2.0.0.6 (Macintosh/20070728)

Zack Weinberg schrieb:
> On 9/23/07, Ralf S. Engelschall <address@hidden> wrote:
>> Hmmm... interesting point. Thanks for the hint. You're right, the
>> concurrent incoming connections could make real trouble here. I've to
>> investigate to see whether a workaround is possible or whether we really
>> hit against the wall here. Many thanks for clarifying this point.
> 
> I've thought for a while that we should have a "local_undo" command
> that reverted the most recent change to the local database, whatever
> it was.  Perhaps your situation could benefit from the same
> infrastructure that that would need.
> 
> http://www.sqlite.org/cvstrac/wiki?p=UndoRedo might be a good starting point.

Doesn't this violate the ACID properties of a normal transaction by
allowing concurrent threads to do dirty reads and writes? I get the
feeling one has to run mtn db check far more often if something like
that gets implemented. Sure, mtn does mostly INSERTs (I counted one
single UPDATE and a couple of less-used DELETEs in database.cc), but my
intention somehow tells me that this means big trouble.

Thomas.

-- 
only dead fish swim with the stream: http://thomaskeller.biz/blog
Am Anfang war das Wort: http://www.schäuble-muss-weg.de

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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