[ZODB-Dev] Re: [Persistent] STICKY mechanism unsafe

2007-08-20 Thread Dieter Maurer
Tres Seaver wrote at 2007-8-20 10:00 -0400:
> ...
>Zope works for this case because each application thread uses a
>per-request connection, to which it has exclusive access while the
>connection is checked out from the pool (i.e., for the duration of the
>request).

At least unless one make persistency errors, such as storing persistent
objects outside the connection (e.g. on class level or in a global
cache).



-- 
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


[ZODB-Dev] Re: [Persistent] STICKY mechanism unsafe

2007-08-20 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Christian Theune wrote:

> just for my understanding: we don't get bitten by this because Zope uses
> the ThreadTransactionManager which keeps objects within one thread (at
> one time)?

Zope works for this case because each application thread uses a
per-request connection, to which it has exclusive access while the
connection is checked out from the pool (i.e., for the duration of the
request).


Tres.
- --
===
Tres Seaver  +1 540-429-0999  [EMAIL PROTECTED]
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGyZ6D+gerLs4ltQ4RAj2CAJ4p8Bejji45cnXHSKvnFRmRpMXviwCfS1tb
2aekSB3XuR6S7y0dOxm4lEU=
=+MXl
-END PGP SIGNATURE-

___
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