[ZODB-Dev] Re: BTrees strangeness (was [Zope-dev] Zope 2.X BIG Session problems - blocker - our site dies - need help of experience Zope developer, please)

Chris McDonough chrism at plope.com
Thu May 13 18:06:51 EDT 2004


Largely due to Michael I believe I have isolated and fixed every
reported sessioning error except this
(still-difficult-to-reproduce-but-definitely-still-existing) KeyError
bug in temporary storage.  I can let the test rig run for several hours;
it happens maybe once every hour or two, so I've not gotten the
provocation of it down to a science yet.  It doesn't occur when the
transient object container is placed in a FileStorage.

I am tempted to check the following into the 2.7 branch and HEAD:

- "error occurs in same transaction as main request" patch
  to Publish.py.  See
http://www.plope.com/Members/chrism/publishpy_errorinmaintrainsaction.patch/file_view
 for the patch.

- new Transience implementation (changed only slightly from 
  chrism-sessiongeddon-branch)

... and worry about the TemporaryStorage bug as a separate issue. 
Thoughts?

On Thu, 2004-05-13 at 04:05, Chris McDonough wrote:
> On Wed, 2004-05-12 at 22:54, Michael Dunstan wrote:
> > On 11/05/2004, at 4:54 PM, Chris McDonough wrote:
> > 
> > > On Mon, 2004-04-26 at 18:34, Michael Dunstan wrote:
> > >> I removed all the above hacks leaving just the
> > >> one that comments out the construction of the to_notify list. Reran 
> > >> the
> > >> test rig. And have yet to see any KeyErrors.
> > >
> > > Have you seen any since the time you reported this?
> > 
> > Since the last report I have not run been running the test rig. I 
> > Needed my laptop back so I could get on with a few other things. :-(
> > 
> > So I'm going to see if I can show others how to recreate the test rig 
> > that I'm using here. A trivial site and the script for testing that 
> > site are attached.
> 
> Thanks very much for this, I'm running it at the moment.  So far, with
> the transaction isolation patch (the one which does not run the error in
> its own transaction) and the "new" Transience.py, and an
> unmodified-from-stock TemporaryStorage I haven't yet been able to
> provoke any unseemly errors out of transience... <wait>... as I typed
> that, I just saw one go by! ;-)  Excellent.  I will diagnose.
> 
> 
> - C
> 
> 
> 
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev at 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 )




More information about the Zope-Dev mailing list