- 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
-
- 22 Oct, 2002 1 commit
-
-
Barry Warsaw authored
via a convenient local variable.
-
- 21 Oct, 2002 2 commits
-
-
Fred Drake authored
documentation.
-
Jeremy Hylton authored
-
- 20 Oct, 2002 1 commit
-
-
Jeremy Hylton authored
XXX This creates a new requirement: If a store implements restore(), it's iterator() implementation must support the data_txn option.
-
- 19 Oct, 2002 2 commits
-
-
Jeremy Hylton authored
XXX This version fails silently when it should be able to write a backpointer, but can't.
-
Jeremy Hylton authored
Some storages get confused by tid == 0.
-
- 18 Oct, 2002 2 commits
-
-
Jeremy Hylton authored
The Record() object now has a data_txn attribute that is either None or the id of the transaction that contains the data used by the current record. Example: When transactionalUndo() modifies an object, it typical creates a new data record that points at the transaction before the undo. The new record contains the same logical data as the record it refers to. (For consistency purposes, this is a stronger claim than that the pickles in two different data records are the same.) Add a test of the new iterator() feature in TransactionalUndoStorage.
-
Jeremy Hylton authored
Share backpointer implementation between _loadBack() and _loadBackPOS() to avoid duplicate code. Simplify interface between FileIterator and RecordIterator. Don't pass unused arguments and don't pass nested tuples. Use global variables to hold trans and data struct formats. Reformat several docstrings. Add whitespace to RecordIterator so that I can read it.
-
- 16 Oct, 2002 7 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Jeremy Hylton authored
This change is an untested improvement. If some object is in the index but unloadable for some reason, report it along with the traceback. When possible, report what objects refer to the un-loadable one.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
dangle.py script that creates one.
-
Jeremy Hylton authored
It appears the initialization was accidentally removed in rev. 1.51. Add comment about why percachedel is not initialized here.
-
- 15 Oct, 2002 1 commit
-
-
Fred Drake authored
supported.
-
- 14 Oct, 2002 3 commits
-
-
Fred Drake authored
passed around and revised for almost a month.) This is accurate, but not necessarily complete.
-
Fred Drake authored
-
Guido van Rossum authored
-
- 12 Oct, 2002 1 commit
-
-
Fred Drake authored
-
- 11 Oct, 2002 4 commits
-
-
Guido van Rossum authored
by assuming all pids in the pidfile must be killed.
-
Guido van Rossum authored
failure of chdir.
-
Guido van Rossum authored
signal meanings: rotate_logs_handler() was changing the SIGHUP handler to rotate the logs! zdaemon did not do anything wrong. :-) Fixed by *removing* the signal() call inside the handler -- this is not needed in modern Unixes. Also changed setup_signals(): there was a typo in the name SIFXFSZ(!); and made all the signal conditional on whether the signal module has that particular signal (e.g. on Windows, a signal module exists, but it only defines a few signals).
-
Guido van Rossum authored
-