Re: [ZODB-Dev] ZEORaid was Re: Restoring from repozo and reusing an index file?

2010-06-21 Thread Christian Theune
On 06/18/2010 01:17 PM, Chris Withers wrote:
 Christian Theune wrote:
 and a
 mysterious bug WRT oid generation
 This one's new to me, where can I find out more?

 The one you reported quite a while ago that ended in mixed-up OID
 results.

 Have you got a url to the tracker issue?

 I think it was this one:
 https://bugs.edge.launchpad.net/gocept.zeoraid/+bug/485976

 Okay, but again, this one seems to be mitigated by only running one
 zeoraid server at a time, right?

Not completely sure as I didn't find the cause of the OIDs getting out 
of sync last time.

Christian

-- 
Christian Theune · c...@gocept.com
gocept gmbh  co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Zope and Plone consulting and development

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

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


[ZODB-Dev] _p_invalidate

2010-06-21 Thread Nitro
Hello,

The simple code below gives me a POSKeyError. Is this to be expected?

-Matthias


class MyObj(Persistent):
 def __init__(self, settings):
 Persistent.__init__(self)
 self.settings = settings

 def _p_invalidate(self):
 print 'INVALIDATE', self.settings
 Persistent._p_invalidate(self)
 print self.settings   # POSKeyError here

transaction.begin()
dbroot['obj'] = obj = MyObj( {'a' : 1} )
sp = transaction.savepoint()
transaction.abort()
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

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


Re: [ZODB-Dev] _p_invalidate

2010-06-21 Thread Nitro
Am 21.06.2010, 11:55 Uhr, schrieb Nitro ni...@dr-code.org:

 Hello,

 The simple code below gives me a POSKeyError. Is this to be expected?

Searched the bugtracker, it looks pretty much like this issue:

https://bugs.launchpad.net/zodb/+bug/143560
https://mail.zope.org/pipermail/zodb-dev/2005-November/009419.html

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

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