[prev in list] [next in list] [prev in thread] [next in thread]
List: zope-dev
Subject: Re: [Zope-dev] How is memory shared between Zope threads?
From: Toby Dickenson <tdickenson () devmail ! geminidataloggers ! co ! uk>
Date: 2001-03-05 11:37:38
[Download RAW message or body]
On Fri, 2 Mar 2001 15:33:37 -0500 (EST), "R. David Murray "
<bitz@bitdance.com> wrote:
>On Fri, 2 Mar 2001, Erik Stephens wrote:
>> Thanks for the response. If I understand you correctly, then as long =
a
>> thread does not try to modify an out-of-date object, it will not try =
to
>> re-read the most current version? Is that the expected behaviour?
>
>Hmm. Good question. I seem to remember reading about cases where
>read-only transactions raised conflict errors in certain cases, but
>I'm not sure. Hopefully someone from DC can chime in with a definitive
>answer.
The object cache only contains up-to-date objects when a transaction
starts.
ZODB will also raise a ConflictError when loading an object into the
cache for reading, if it has been modified since the start of the
transaction.
Toby Dickenson
tdickenson@geminidataloggers.com
_______________________________________________
Zope-Dev maillist - Zope-Dev@zope.org
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic