- 10 Dec, 2002 6 commits
-
-
Barry Warsaw authored
module function cleanup() which was added to FileStorage and BerkeleyBase. UnixTests.getStorage(): Return a ZConfig string instead of a tuple of a class name and an argument list. BDBTests: Simple extension to UnixTests to test using Berkeley storages with ZEO. WindowsTest: Derive from UnixTests and remove getStorageInfo() and delStorage(). Add BDBTests if we can import Full.
-
Barry Warsaw authored
create the specific storage instances. This lets us easily generalize the tests (the Unix ones at least ;) to use the Berkeley Full storage. Tim and I will check Windows compatibility soon.
-
Barry Warsaw authored
i.e. reason first, then oid. This is because there's always a reason but sometimes there isn't an oid (so we can default arg the oid).
-
Barry Warsaw authored
i.e. reason first, then oid. This is because there's always a reason but sometimes there isn't an oid (so we can default arg the oid). cleanup(): Add both a method to FileStorage and a module global function to clean up all the files that a FileStorage creates. Sometimes it's handy to do a cleanup if you have the instance, other times you only have the Data.fs file name.
-
Jeremy Hylton authored
-
Barry Warsaw authored
PersistentMapping sitting off the root object. The zrs heartbeat object will go in this same location (under a different name of course).
-
- 09 Dec, 2002 3 commits
-
-
Jeremy Hylton authored
-
Barry Warsaw authored
FileStorage._txn_undo()
-
Barry Warsaw authored
instead now.
-
- 06 Dec, 2002 10 commits
-
-
Jeremy Hylton authored
The _txn_find() must not stop at the pack boundary when it is called by restore(). It was originally written for _txn_undo() which isn't supposed to undo to a transaction across a pack. But it should be legal to restore() a transaction with a reference to a data record in a transaction that was packed. Fix by adding stop_at_pack flag to _txn_find() and add tests of this behavior for FileStorage.
-
Barry Warsaw authored
-
Barry Warsaw authored
checkTransactionExtensionFromIterator(): New test which BDBFullStorage was failing because it wasn't unpickling the transaction extension data.
-
Barry Warsaw authored
-
Jeremy Hylton authored
Oops. The code for BTrees-based indexing was done on a branch, which was later merged into another branch, which was later merged to the trunk. Somewhere along the way the change that actually enabled the new index was lost.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Almost entirely concerned with adding ZPL blocks.
-
- 05 Dec, 2002 9 commits
-
-
Jeremy Hylton authored
The timeout is necessary because in some cases a non-blocking connect while neither succeed nor fail. It is unacceptable to simply get stuck forever in this code, because it is run at least once inside the ClientStorage constructor. Set the first timeout to a fairly low number -- 5 seconds -- so that a ClientStorage(wait=0) call does not take a inordinate length of time. Then set the default to a longer number -- 75 seconds, which is typical timeout for a blocking connect() call. This change fixes the hang in testZEOStorage from testStorageConfig. XXX Need to get Guido to review the changes.
-
Fred Drake authored
-
Fred Drake authored
checkin.
-
Fred Drake authored
really not reusable, so should be considered an implementation detail.
-
Fred Drake authored
- Define exceptions in the "Exceptions" module. - Expose all the exceptions in the ZConfig package directly.
-
Fred Drake authored
the end of the \modulesynopsis blurbs.
-
Fred Drake authored
only used once within the ZConfig package.
-
Fred Drake authored
exception specific to ZConfig is a specialization of ConfigurationError.
-
Fred Drake authored
by '$' or a name, raise an exception. (Previously this used '' for the replacement text.)
-
- 04 Dec, 2002 9 commits
-
-
Fred Drake authored
refactoring.
-
Jeremy Hylton authored
-
Fred Drake authored
useful now that %define and substitution is built into the basic handling of the configuration files.
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
Further documentation is needed.
-
Fred Drake authored
-
Toby Dickenson authored
-
- 03 Dec, 2002 3 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Log message on platforms where file-locking isn't supported.
-
Jeremy Hylton authored
adding Dumper class to ZODB4.
-