Re: [ZODB-Dev] mvcc related error?

2007-03-20 Thread Chris Withers
Dieter Maurer wrote: Chris Withers wrote at 2007-3-16 08:45 +: ... Is there any way an object could be invalidated without there being a non-current revision to read? Sure (through a call to ZODB.DB.DB.invalidate), although usually it is done only after the object changed. OK. I'm

Re: [ZODB-Dev] mvcc related error?

2007-03-20 Thread Jeremy Hylton
On 3/20/07, Chris Withers [EMAIL PROTECTED] wrote: Dieter Maurer wrote: Chris Withers wrote at 2007-3-16 08:45 +: ... Is there any way an object could be invalidated without there being a non-current revision to read? Sure (through a call to ZODB.DB.DB.invalidate), although usually it

Re: [ZODB-Dev] mvcc related error?

2007-03-16 Thread Chris Withers
Jeremy Hylton wrote: transaction end committed. If end is None, it implies that the revision returned by loadBefore() is the current revision. There is an assert here, because the _setstate_noncurrent() is only called if the object is in the invalidated set, which implies that there is a

Re: [ZODB-Dev] mvcc related error?

2007-03-15 Thread Chris Withers
Dieter wrote: Unfortunately, neither of these means anything to me ;-) That is because you did not look at the code :-) Much as I wish I had time to read and learn the whole zodb code base, I don't. It wasn't clear what that code did and what those assertions really meant... Jim wrote:

Re: [ZODB-Dev] mvcc related error?

2007-03-15 Thread Jeremy Hylton
On 3/15/07, Chris Withers [EMAIL PROTECTED] wrote: Dieter wrote: Unfortunately, neither of these means anything to me ;-) That is because you did not look at the code :-) Much as I wish I had time to read and learn the whole zodb code base, I don't. It wasn't clear what that code did and

Re: [ZODB-Dev] mvcc related error?

2007-03-14 Thread Chris Withers
Dieter Maurer wrote: Yes, it looks like an error: Apparently, assert end is not None failed. Apparently storage.loadBefore returned a wrong value. Unfortunately, neither of these means anything to me ;-) I guess I should file a bug report? Why collector? cheers, Chris -- Simplistix -

Re: [ZODB-Dev] mvcc related error?

2007-03-14 Thread Dieter Maurer
Chris Withers wrote at 2007-3-14 10:18 +: Dieter Maurer wrote: Yes, it looks like an error: Apparently, assert end is not None failed. Apparently storage.loadBefore returned a wrong value. Unfortunately, neither of these means anything to me ;-) That is because you did not look at

Re: [ZODB-Dev] mvcc related error?

2007-03-14 Thread Jim Fulton
On Mar 14, 2007, at 1:43 PM, Dieter Maurer wrote: Chris Withers wrote at 2007-3-14 10:18 +: Dieter Maurer wrote: Yes, it looks like an error: Apparently, assert end is not None failed. Apparently storage.loadBefore returned a wrong value. Unfortunately, neither of these means

[ZODB-Dev] mvcc related error?

2007-03-13 Thread Chris Withers
(trying again to send to the right list) Hi All, One of the users on one of my projects saw this error under high load: Module Products.QueueCatalog.QueueCatalog, line 458, in reindexObject Module Products.QueueCatalog.QueueCatalog, line 341, in catalog_object Module

Re: [ZODB-Dev] mvcc related error?

2007-03-13 Thread Dieter Maurer
Chris Withers wrote at 2007-3-13 11:34 +: One of the users on one of my projects saw this error under high load: Module Products.QueueCatalog.QueueCatalog, line 458, in reindexObject Module Products.QueueCatalog.QueueCatalog, line 341, in catalog_object Module