Jim Fulton wrote at 2007-12-29 16:06 -0500:
> ...
>> If you are at it: I think the lock which protects the "finish" test
>> is hold too long. Currently, it is just release for a very short time
>> and then immeadiately reacquired. It should be safe to release it
>> immediately after the "finish" test has failed.
>
>
>I don't know what you are referring to. Could you be more specific?

The old "pack" code acquires the "commit" lock at the start
of the "copyRest" (copy transactions after pack time) phase
and releases it only every 20 "copyOne" calls for the duration
of one "copyOne".



-- 
Dieter
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to