- 13 Nov, 2002 2 commits
-
-
Toby Dickenson authored
-
Toby Dickenson authored
Merged toby-extension-method-branch - ZEO now asks its storages if there are extra methods that should be proxied by the ClientStorage. This is useful for storages which have features not covered by the standard storage API
-
- 12 Nov, 2002 2 commits
-
-
Barry Warsaw authored
-
Guido van Rossum authored
socket errors from the recv() call and return early in that case.
-
- 07 Nov, 2002 5 commits
-
-
Fred Drake authored
-
Fred Drake authored
sure to state the "container" attribute is optional.
-
Fred Drake authored
-
Fred Drake authored
considered "complete".
-
Fred Drake authored
pointed out, interpolation is a bad name for this, since it implies something different.
-
- 05 Nov, 2002 7 commits
-
-
Barry Warsaw authored
interesting root reachability properties.
-
Jeremy Hylton authored
and eliminate default argument hack.
-
Jeremy Hylton authored
Remove useless register_subsystem() calls. Define PackError instead of raising string exception. Remove unused _stuff argument from load(). Remove unused tid argument from _txn_undo_write(). Replace seek() and unused read()s with single read(). Remove unused local variables.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Also, add sanity checks in _getVersion() and _getSerial().
-
Guido van Rossum authored
log: Fix an old bug in poll(). When a signal is handled while we're blocked in select(), this will raise select.error with errno set to EINTR. The except clauses correctly ignores this error, but the rest of the logic will then call read() for all objects in select's *input* list of read file descriptors. Then when an object's read_handler() is naive, it will call recv() on its socket, which will raise an IOError, and then asyncore decides to close the socket. To fix this, we simply return in this case. Rather than incorporating a fixed copy of asyncore.py in Zope2 and ZODB3, I'm incorporating a fixed copy of just asyncore.poll() in this file, since we already have a copy of asyncore.loop() here.
-
Guido van Rossum authored
-
- 04 Nov, 2002 4 commits
-
-
Jeremy Hylton authored
It looks like a bogus file position (0) was getting passed to _getVersion(), which was returning random data for the version. XXX Need to review this patch carefully to see why the problem was never noticed before. Need to add a GB unit test.
-
Guido van Rossum authored
(__init__.py still makes format_exception available; is this needed?)
-
Guido van Rossum authored
being hashed out on the ZODB3-deadlock-debug-branch, so there's no need to let the trunk test suite keep failing.
-
Jeremy Hylton authored
There are some cases, can't recall exactly what they are, where a single ref is returned instead of a ref, class info tuple.
-
- 01 Nov, 2002 2 commits
-
-
Barry Warsaw authored
-
Barry Warsaw authored
-
- 31 Oct, 2002 2 commits
-
-
Guido van Rossum authored
must've used this to disable the exception handling temporarily to debug the exception formatting machinery, and forgotten to re-enable it before checking in. Unfortunately, this made it into the ZODB 3.1 release, making this a 3.1.1 backport candidate.
-
Guido van Rossum authored
config parameters at once. Add (commented-out) print statements showing progress.
-
- 30 Oct, 2002 8 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
Added a new test: checkMultiStorageTransaction(). This tests for the deadlocks that we've seen when multiple appservers do transactions involving multiple ZEO 2.0 storages. It also nicely tests the timeout feature that Jeremy added to StorageServer. WARNING: with the current ZEO code, this occasionally hangs. That's the point of this test. :-)
-
Guido van Rossum authored
-
Jeremy Hylton authored
If a transaction takes a long time to complete after it has the storage lock, close the connection and abort the transaction. The abort may cause the client to be hosed. XXX There should be a configuration option to enable / disable this feature. That should be done before too long. When a transaction takes a long time to complete, it is often a sign of deadlock involving multiple storages. Until the possibility of deadlock is eliminated, this feature will prevent an entire ZEO cluster from deadlocking (on writes).
-
Jeremy Hylton authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
- 24 Oct, 2002 5 commits
-
-
Jeremy Hylton authored
(Re-applying a lost change.) Some storages get confused by tid == 0.
-
Barry Warsaw authored
checkCreateObjectInVersionWithAbort().
-
Barry Warsaw authored
-
Barry Warsaw authored
generally useful for storages that support the iterator protocol. Note that copyTransactionsFrom() implicitly tests restore().
-
Barry Warsaw authored
tests for proper behavior when aborting a version in which an object was created.
-
- 23 Oct, 2002 3 commits
-
-
Jeremy Hylton authored
As the comment said: Not really necessary in production code... disable this before release, providing noone has been reporting and RuntimeErrors that it uses to report problems.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-