[ZODB-Dev] Unexpected ClientDisconnected Behaviour
Chris Withers
chrisw at nipltd.com
Thu Jul 17 11:32:40 EDT 2003
Hi, got a question relating to the log at the end of this mail...
returned to work on a project this morning, I'm developing on a Windows ZEO
client attached to a Debian storage server, been working great :-)
Except, I guess the ZEO connection got dropped over night. Fair enough, I guess,
it hadn't had any data down it for a day or two...
BUT, on viewing the ZMI, the first thing I got was a ClientDisconnected error
shown in the standard_error_message.
That seems bad to me:
1. The next refresh did was fine, the connection just re-established itself.
2. Given 1, why should the end user see the error at all? Shouldn't ZEO attempt
to reconenct before raising an exception that's likely to get propogated to the
end user?
cheers,
Chris
PS: here's the event log if it's useful:
2003-07-17T10:25:01 PROBLEM(100) ZCS:2472 Disconnected from storage: "('x', 6002)"
------
2003-07-17T10:25:01 ERROR(200) ZODB Couldn't load state for '\x00\x00\x00\x00\x0
0\x00\x00\x07'
Traceback (innermost last):
File D:\ZOPE\262A8D~1.1\lib\python\ZODB\Connection.py, line 509, in setstate
File D:\Zope\2.6.1\lib\python\ZEO\ClientStorage.py, line 524, in load
(Object: Main)
File D:\Zope\2.6.1\lib\python\ZEO\ClientStorage.py, line 86, in __getattr__
ClientDisconnected
------
2003-07-17T10:25:01 INFO(0) ZCS:2472 Testing connection <ManagedConnection ('194
.193.44.57', 6002)>
------
2003-07-17T10:25:03 INFO(0) ZEC:unpacked read_index: cache file 0 has 296 record
s and 341269 bytes
------
2003-07-17T10:25:03 INFO(0) ZCS:2472 Connected to storage: ('194.193.44.57', 600
2)
------
2003-07-17T10:25:12 ERROR(200) ZODB Couldn't load state for '\x00\x00\x00\x00\x0
0\x00\x00\x07'
Traceback (innermost last):
File D:\ZOPE\262A8D~1.1\lib\python\ZODB\Connection.py, line 509, in setstate
File D:\Zope\2.6.1\lib\python\ZEO\ClientStorage.py, line 524, in load
(Object: Main)
File D:\Zope\2.6.1\lib\python\ZEO\ServerStub.py, line 73, in zeoLoad
File D:\Zope\2.6.1\lib\python\ZEO\zrpc\connection.py, line 317, in call
File D:\Zope\2.6.1\lib\python\ZEO\zrpc\connection.py, line 376, in wait
DisconnectedError
More information about the ZODB-Dev
mailing list