[ZODB-Dev] Results from latest CVS code and trial patch

JohnD.Heintz JohnD.Heintz
Fri, 10 Aug 2001 17:28:18 -0500


On Linux with local and remote clients it does help.  I haven't gotten it=
 to=20
raise exceptions yet but I am still getting really long pauses (~15s).  T=
hey=20
occur mostly when opening a new client connect and therefore doing a=20
db.open().

I'll try windows.....
better, but still not working.  Now local connections on windows experien=
ces=20
random pauses (not during connection but while looping to create new=20
StorageObjects) but exceptions aren't raised.  A remote connection howeve=
r=20
raised the attached traceback. =20

I could still connect to and use the windows server though.  I need to=20
implement the retry code on ClientDisconnected, but the IndexError will b=
low=20
up my code without retrying.

John

Traceback (most recent call last):
  File "Server.py", line 74, in createStorageObject
    result =3D self._tryCommitFunction(self.__createStorageObject, ())
  File "ZODBCorbaFramework.py", line 237, in _tryCommitFunction
    get_transaction().commit()
  File "TransactionManagement.py", line 74, in commit
    ZODB.Transaction.Transaction.commit(self, subtransaction)
  File "c:\programs\zodb\zodb\Transaction.py", line 301, in commit
    j.tpc_begin(self)
  File "c:\programs\zodb\zodb\Connection.py", line 633, in tpc_begin
    self._storage.tpc_begin(transaction)
  File "F:\win32\ZEO\ClientStorage.py", line 481, in tpc_begin
ZEO.ClientStorage.ClientDisconnected: This action is temporarily unavaila=
ble.

omniORB: Caught an unexpected Python exception during up-call.
Traceback (most recent call last):
  File "Server.py", line 113, in write
    (offset, data))
  File "ZODBCorbaFramework.py", line 282, in _tryDomainCommit
    return self._tryCommitFunction(self.__functor, *args)
  File "ZODBCorbaFramework.py", line 237, in _tryCommitFunction
    get_transaction().commit()
  File "TransactionManagement.py", line 74, in commit
    ZODB.Transaction.Transaction.commit(self, subtransaction)
  File "c:\programs\zodb\zodb\Transaction.py", line 301, in commit
    j.tpc_begin(self)
  File "c:\programs\zodb\zodb\Connection.py", line 633, in tpc_begin
    self._storage.tpc_begin(transaction)
  File "F:\win32\ZEO\ClientStorage.py", line 483, in tpc_begin
  File "E:\bonnell_releases\win32\ZEO\zrpc.py", line 227, in __call__
    if type(r) is TupleType: raise r[0], r[1]
IndexError: list assignment index out of range
omniORB: Caught an unexpected Python exception during up-call.
Traceback (most recent call last):
  File "Server.py", line 74, in createStorageObject
    result =3D self._tryCommitFunction(self.__createStorageObject, ())
  File "ZODBCorbaFramework.py", line 237, in _tryCommitFunction
    get_transaction().commit()
  File "TransactionManagement.py", line 74, in commit
    ZODB.Transaction.Transaction.commit(self, subtransaction)
  File "c:\programs\zodb\zodb\Transaction.py", line 301, in commit
    j.tpc_begin(self)
  File "c:\programs\zodb\zodb\Connection.py", line 633, in tpc_begin
    self._storage.tpc_begin(transaction)
  File "F:\win32\ZEO\ClientStorage.py", line 481, in tpc_begin
ZEO.ClientStorage.ClientDisconnected: This action is temporarily unavaila=
ble.

On Friday 10 August 2001 15:35, Jeremy Hylton wrote:
> >>>>> "JDH" =3D=3D John D Heintz <jheintz@isogen.com> writes:
>
>   JDH> Hi Jeremy, Here is what we got from the latest CVS code and the
>   JDH> suggested patch.
>
>   JDH> trace1.txt is what we got on windows after going to the latest
>   JDH> CVS code.  It failed and every client died.
>
> In this trace, zrpc dies with a NameError on EINTR.  I fixed this on
> the zeo_1-0_branch yesterday (rev 1.18.2.1).  Does this help much?
>
> Jeremy
>
>
> _______________________________________________
> For more information about ZODB, see the ZODB Wiki:
> http://www.zope.org/Wikis/ZODB/
>
> ZODB-Dev mailing list  -  ZODB-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zodb-dev

--=20
=2E . . . . . . . . . . . . . . . . . . . . . . .

John D. Heintz | Senior Engineer

1016 La Posada Dr. | Suite 240 | Austin TX 78752
T 512.633.1198 | jheintz@isogen.com

w w w . d a t a c h a n n e l . c o m