[ZODB-Dev] [ zodb-Bugs-536405 ] ZEO 1.0 commit lock problem

noreply@sourceforge.net noreply@sourceforge.net
Mon, 01 Apr 2002 08:49:02 -0800


Bugs item #536405, was opened at 2002-03-28 18:55
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=115628&aid=536405&group_id=15628

Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Jeremy Hylton (jhylton)
>Assigned to: Jeremy Hylton (jhylton)
Summary: ZEO 1.0 commit lock problem

Initial Comment:
ERROR: checkCommitLockOnAbort
(ZEO.tests.testZEO.ZEOFileStorageTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "lib.linux-i686-2.1/ZEO/tests/testZEO.py", line
190, in checkCommitLockOnAbort
    self._checkCommitLock("tpc_abort")
  File "lib.linux-i686-2.1/ZEO/tests/testZEO.py", line
226, in _checkCommitLock
    self._dostore()
  File "lib.linux-i686-2.1/ZEO/tests/testZEO.py", line
98, in _dostore
    self._storage.tpc_finish(t)
  File "lib.linux-i686-2.1/ZEO/ClientStorage.py", line
462, in tpc_finish
    transaction._extension)
  File "lib.linux-i686-2.1/ZEO/zrpc.py", line 168, in
__call__
    raise r[0], r[1] # see server log for real traceback
error: release unlocked lock

I've seen this error occasionally when running the unit
tests for ZEO 1.0 branch.  I can't reproduce it when
zLOG is enabled.

It presumably has something to do with the new code to
implement suspend and resume for the distributed commit
lock.


----------------------------------------------------------------------

>Comment By: Jeremy Hylton (jhylton)
Date: 2002-04-01 16:49

Message:
Logged In: YES 
user_id=31392

This bug only showed up on the zeo-1_0-debug-branch and was 
fixed by adding "return _noreturn" to the status() method.  
The client was calling it asynchronously, but the server 
was sending a response anyway.  The extra return hosed the 
next synchronous call.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=115628&aid=536405&group_id=15628