[ZCM] [ZC] 2293/ 4 Comment "ZEO: storage error occurred during the second phase of the two-phase commit"

"Collector: Zope Bugs, Features, and Patches ..." <[email protected]> Tue, 24 Apr 2007 21:49:15 -0400
Newsgroups gmane.comp.web.zope.devel.collector-monitor
Message-ID <[email protected]>
Issue #2293 Update (Comment) "ZEO: storage error occurred during the second phase of the two-phase commit"
 Status Pending, Zope/bug medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/2293

==============================================================
= Comment - Entry #4 by smcmahon on Apr 24, 2007 9:49 pm

A bit more information. The problem still exists with Zope 2.10.3, and occurs with Plone 3.0-beta-1 as well as the earlier alpha.

I've now reproduced it in every environment I've tested in, including:

- Ubuntu 6.10 Server
- FreeBSD 6.1
- Solaris 10
- Fedora Core 6
- Mac OS X 10.4

________________________________________
= Comment - Entry #3 by smcmahon on Mar 21, 2007 12:53 pm


Uploaded:  "logs.tgz"
 - http://www.zope.org/Collectors/Zope/2293/logs.tgz/view
I certainly understand why you wouldn't want to deal with the Plone 3.0 development stack. The problem is reproducible with the Plone 3.0-alpha-2 release (available at http://plone.org/products/plone/releases/3.0) if that's any help.

Attached is a .tgz archive containing the complete zeo and event logs for an error episode.
________________________________________
= Comment - Entry #2 by tseaver on Mar 20, 2007 8:37 pm

What is Plone doing during product init that would cause writes,
beyond those which the "stock" control panel does?  We will need
a reproducible testcase which shows this happening without needing
to install the development version of the Plone 3 stack.

For starters, please upload the compolete event log file from the
instance: your trimmed down version is too trimmed to tell us much.
Perhaps the information there will help us narrow the search.

________________________________________
= Request - Entry #1 by smcmahon on Mar 20, 2007 5:06 pm

In a ZEO configuration, when starting a client for the first time -- with no Data.fs in place -- with Plone 3.0 Alpha-2 in the instance Products and instance lib/python, during the plone package inits, an error will occur:

...
  from zope.app.event.objectevent import ObjectEvent
2007-03-20 12:47:24 INFO Plone OpenID packages not installed
2007-03-20 12:47:26 CRITICAL txn.-1210956112 A storage error occurred during the second phase of the two-phase commit.  Resources may be in an inconsistent state.
...

Five then fails to load.

This error does not occur if the Plone 3 Products and packages are not present. Nor does is occur in a stand-alone Zope configuration (i.e., no ZEO).

Restarting the client reliably clears the problem.

Problem reproduced on Ubuntu 6.10, FreeBSD 6.1 and Solaris 10.

==============================================================