[Zope-dev] Zope Tests: 5 OK

2007-05-29 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Mon May 28 12:00:00 2007 UTC to Tue May 29 12:00:00 2007 UTC.
There were 5 messages: 5 from Zope Unit Tests.


Tests passed OK
---

Subject: OK : Zope-2.7 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Mon May 28 21:23:55 EDT 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-May/007799.html

Subject: OK : Zope-2.8 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Mon May 28 21:25:27 EDT 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-May/007800.html

Subject: OK : Zope-2.9 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Mon May 28 21:26:58 EDT 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-May/007801.html

Subject: OK : Zope-2.10 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Mon May 28 21:28:29 EDT 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-May/007802.html

Subject: OK : Zope-trunk Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Mon May 28 21:30:00 EDT 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-May/007803.html

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Re: [ZODB-Dev] [Bug] ZODB invalidation processing

2007-05-29 Thread Chris Withers

Dieter Maurer wrote:

In our private Zope version, I have still a note like this:

# DM 2005-08-22: always call '_flush_invalidations' as it does
#  more than cache handling only
self._flush_invalidations()
if self._reset_counter != global_reset_counter:
# New code is in place.  Start a new cache.
self._resetCache()
# DM 2005-08-22: always call '_flush_invalidations'
##else:
##self._flush_invalidations()

The note indicates that the bug was fixed at least at 2005-08-22
(though the handling was not completely right in case the cache
was reset).


Once again, it would be nice, now that you have access, if you could 
feed back your changes in areas like these rather than keeping them in 
your own private source tree :-(


Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Re: [ZODB-Dev] [Bug] ZODB invalidation processing

2007-05-29 Thread Dieter Maurer
Chris Withers wrote at 2007-5-29 16:02 +0100:
 ...
Once again, it would be nice, now that you have access, if you could 
feed back your changes in areas like these rather than keeping them in 
your own private source tree :-(

I would be busy for about 1 to 2 weeks -- and I do not have that time now.

Moreover, people may not like what I would change -- and an intense
discussion, maybe even struggle may be unravelled.

So, you will still here from time to time a reference to our
private copy of Zope.



-- 
Dieter
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Re: [ZODB-Dev] Re: [Bug] ZODB invalidation processing

2007-05-29 Thread Dieter Maurer
Joachim Schmitz wrote at 2007-5-28 17:45 +0200:
In ZODB.Connection.Connection.open I see:

 if self._reset_counter != global_reset_counter:
 # New code is in place.  Start a new cache.
 self._resetCache()
 else:
 self._flush_invalidations()

So self._flush_invalidations() is only called in the else-condition.
In your patch it is always called. I try your version and report back.

As almost always self._reset_counter == global_reset_counter
and _resetCache effectively flushes the cache, the change is *VERY* unlikely
to affect what you see with respect to conflict errors.


-- 
Dieter
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Re: many conflict errors

2007-05-29 Thread Laurence Rowe

Perry wrote:

Tres Seaver schrieb:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



--
2007-05-25T10:19:01 ERROR Zope.SiteErrorLog
http://uniben.waeup.org/campus/students/C172676/study_course/create_level 


Traceback (innermost last):
   Module Zope2.App.startup, line 173, in zpublisher_exception_hook
   Module ZPublisher.Publish, line 121, in publish
   Module Zope2.App.startup, line 240, in commit
   Module transaction._manager, line 96, in commit
   Module Products.CPSCompat.PatchZODBTransaction, line 175, in commit
   Module transaction._transaction, line 436, in _commitResources
   Module ZODB.Connection, line 665, in tpc_vote
   Module ZEO.ClientStorage, line 893, in tpc_vote
   Module ZEO.ClientStorage, line 877, in _check_serials
ConflictError: database conflict error (oid 0x7905e6, class
BTrees._IOBTree.IOBucket, serial this txn started with
0x036ddc2b3e989fdd 2007-05-25 09:15:14.670982, serial currently
committed 0x036ddc2dd48f4e33 2007-05-25 09:17:49.818700)


Neither of those tracebacks look like they come out of the 'faster'
session machinery itself;  it uses an 'OOBTree' by default for storing
the slices, not an 'IOBtree'.  The primary consumer of 'IOBTree' is
probably the catalog, where it is used to map RID - values in the
'unindex' of 'FieldIndex', etc.  The original sessioning machinery uses
'IOBTree', too:  are you sure you are using the faster machnery?


Yes, but I am not sure, or better I don't know who is causing these errors.



I wrote up some stuff on finding the path of an object 
http://plone.org/documentation/how-to/debug-zodb-bloat/ and 
http://www.zopelabs.com/cookbook/1114086617


The scripts need to be updated for recent ZODBs (change one import I think).

Laurence

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )