[Zope-dev] Making a ZSQL.DA fully multi-threaded?

Dieter Maurer dieter at handshake.de
Sun Jul 25 17:16:33 EDT 2004


Brad Clements wrote at 2004-7-23 16:12 -0400:
>On 23 Jul 2004 at 20:08, Dieter Maurer wrote:
>
>> The bad sequence can look as follows:
>> 
>>  * Zope starts a request (and thereby a transaction)
>> 
>>  * The request sends a modifying request to a relational database
>> 
>>  * The connection is lost; the former modification is discarded
>>    as the database performs an automatic abort on connection close
>
>The former modification cannot be lost because it was commited by the DA as part of the 
>previous transaction.

We are in one request and therefore in one transaction...
The modification between the "starts a request" and "connection is lost"
is lost...

-- 
Dieter


More information about the Zope-Dev mailing list