- 05 Sep, 2002 5 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Toby Dickenson authored
added DanglingReferenceError. A new exception for storages to report the fact that a transaction is storing a reference to an object that does not exist. Doing this is 'a bad thing', although it is not entirely clear that it is prohibited. So far only DirectoryStorage makes this check. This is given its own exception class because some code may be able to catch it, and regenerate the object that the storage thinks does not exist.
-
- 04 Sep, 2002 6 commits
-
-
Jeremy Hylton authored
p can be negative, which merely means the offset is in the other file.
-
Jeremy Hylton authored
p can be negative, which merely means the offset is in the other file.
-
Guido van Rossum authored
- Always print start and flip events. Add the newline before the stats back.
-
Guido van Rossum authored
-
Guido van Rossum authored
records). Report distribution of "current file" bit.
-
Guido van Rossum authored
trace data; first and last timestamp, and their difference in seconds; how many records had their version bit set. - All large numbers reported are formatted with commas (e.g. '1,234,567').
-
- 30 Aug, 2002 7 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
more. (ZEO1 will follow after lunch.)
-
Guido van Rossum authored
records. This is much faster (the old code took 16 second to write 120,000 records on my home box, the new code takes about 2.7 seconds). A new script, stats.py, is provided to analyze statistics.
-
- 29 Aug, 2002 15 commits
-
-
Jeremy Hylton authored
As suggested by Toby Dickenson.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
The ImmediateCommitStrategy storage is not a ZEOStorage, but a FileStorage.
-
Guido van Rossum authored
when the connection is closed is called 'close()' when it doesn't close the manager, but tells the manager that one particular connection is closed. Rename it to 'close_conn()'.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
The previous code just called tpc_abort() on the server, but that wouldn't restart any waiting transaction.
-
Guido van Rossum authored
- Add some expository comments. - Add some asserts documenting non-obvious assumptions. - Make modifiedInVersion a delegated method, since it does nothing special. - Fix a bug in undo(); it was passing a list of triples (oid,None,'') to the server.invalidate() call rather than a list of tuples (oid,''). There are no unit tests for undo(), so this was never caught. I guess few people care about undo() now that we have transactionalUndo(). - In ImmediateCommitStrategy.store(), only catch exceptions that inherit from Exception raised by the storage's store() call; the client is only checking for those in the list of serials. - Remove unused instance variable 'invalidated' from the DelayedCommitStrategy class.
-
Guido van Rossum authored
-
Guido van Rossum authored
client. Remove it from the stub.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
names and Python method names. (Checked this in on the trace branch by mistake.)
-
- 28 Aug, 2002 7 commits
-
-
Guido van Rossum authored
Change the wire protocol back by providing aliases.
-
Guido van Rossum authored
-
Guido van Rossum authored
Log cache flips and non-trivial read_index statistics (at info level). Move RCS info into docstring. Add XXX TO DO comment at top. Whitespace normalization.
-
Jeremy Hylton authored
Also, reformat the _finish() method and add some comments.
-
Guido van Rossum authored
-
Jeremy Hylton authored
same as the serialno in the last non-version data record. XXX This might be the only time that the serialno of a data record does not match the transaction id.
-
Jeremy Hylton authored
Remove checkNewSerialOnAbortVersion and checkNewSerialOnCommitVersion. They duplicate checkCommitVersionSerialno and checkAbortVersionSerialno.
-