- 08 Oct, 2002 2 commits
-
-
Jeremy Hylton authored
-
Guido van Rossum authored
records (all the broken records I've seen had a zero timestamp).
-
- 07 Oct, 2002 3 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
Get rid of $Id$ in docstring (it's seen rarely in ZEO). Append a newline to the pid file.
-
Guido van Rossum authored
-
- 05 Oct, 2002 1 commit
-
-
Guido van Rossum authored
-
- 04 Oct, 2002 4 commits
-
-
Jeremy Hylton authored
-
Guido van Rossum authored
-
Guido van Rossum authored
Otherwise, this will just hang trying to connect to a read-only storage. Also get rid of the debug=1 argument (it's not used with ZEO 2).
-
Guido van Rossum authored
It is now easy to provide a subclass of a class that is instantiated, by setting the corresponding hook class variable. E.g. if you subclass ZEOStorage, you should also subclass StorageServer and set StorageServer.ZEOStorageClass to your ZEOStorage subclass.
-
- 03 Oct, 2002 5 commits
-
-
Guido van Rossum authored
of small and large stores, to try and trigger bugs in the parallel-call feature.
-
Jeremy Hylton authored
-
Guido van Rossum authored
-
Guido van Rossum authored
Got rid of PackWaitWrapper (since pack now waits by default). Moved the connection test scaffolding to testConnection.py (new); moved the openClientStorage() implementation into ConnectionTests.py since it is not platform dependent.
-
Jeremy Hylton authored
it is in use by another thread.
-
- 02 Oct, 2002 3 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
__init__. The hang was in the accept() call. I don't understand exactly why, but I suspect it was because we were always reusing the same port when a trigger was closed and another opened right away. Fixed this by cycling over ports [19950...19999]. Also cleaned up the code somewhat.
-
- 01 Oct, 2002 19 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
Also changed the loop in close_conn() to go over the dict's values, since those are all that's used.
-
Guido van Rossum authored
following item: Picklers are not re-entrant! The only place where the shared global pickler was used was in the error handling in store(), to test whether the caught exception can be pickled (else it would fail when sending the response). Change the flow control to create a new pickler locally, only when an exception is caught. (When no exception is caught, we know newserial is a string so there's no need to test its picklability.)
-
Guido van Rossum authored
-
Guido van Rossum authored
in the docstring that filter should be None. Also change the return value if filter!=None from () to [], to match the type of what it returns in other cases.
-
Guido van Rossum authored
methods here.
-
Guido van Rossum authored
-
Guido van Rossum authored
the server to take the "async=0" path which could cause recursive calls to message_input() or message_output(), which would hang due to the input/output locks.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Use the ZEO storage id rather than the ZODB storage name. The latter is usually a long path to a file, which is relatively uninteresting.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Guido van Rossum authored
Also remove unused optional argument 'last' from new_oid() and '_stuff' from load().
-
Guido van Rossum authored
-
Jeremy Hylton authored
Also rename _startServer() to startServer() for consistency with shutdownServer().
-
Jeremy Hylton authored
-
Jeremy Hylton authored
When the import changed to be absolute rather than relative, the trick of using the same Python string for the import and the getattr failed. Add an assert() that TimeStamp is not NULL.
-
Guido van Rossum authored
This is a SyntaxWarning in Python 2.3 and will be an error in 2.4.
-
- 30 Sep, 2002 2 commits
-
-
Guido van Rossum authored
all of ZEO from dependencies on this stealth built-in, except for some non-unit tests).
-
Guido van Rossum authored
other modules living in the same package. It turns out that that doesn't work when the __import__ builtin has been replaced by one written in Python. The easiest fix is to use absolute imports.
-
- 29 Sep, 2002 1 commit
-
-
Guido van Rossum authored
recv() call too, else there'd still be a race condition (two threads both receiving some data, and then the last to read processing it first, which would be a disaster).
-