- 17 Jan, 2003 1 commit
-
-
Guido van Rossum authored
-
- 16 Jan, 2003 9 commits
-
-
Tim Peters authored
Zope3/ZODB4. Many test fixes from Jeremy (in particular, most of the tests weren't getting run), and new tests from Tim. Note that the new testEmptyBucketConflict() actually shows that a particular rare case of conflict resolution doesn't work correctly now. A fix for that comes next, along with reversing the sense of this new test.
-
Fred Drake authored
repitition and no magical guessing of type names in the datatypes.
-
Fred Drake authored
-
Fred Drake authored
language.
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
- minor markup changes
-
Fred Drake authored
component provided with zLOG.
-
Fred Drake authored
- add at least something of a test for the datatype
-
- 15 Jan, 2003 8 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Handing off to Barry.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
ZEO.Exceptions.ClientDisconnected will always be raised when a client is disconnected. There's also a subclass of this exception in ZEO.zrpc.error so that it's possible to distinguish whether the error occurred in the RPC layer or at the storage layer.
-
Fred Drake authored
-
Jeremy Hylton authored
If the client isn't connected at all, sync() returns quickly and the test fails because it doesn't wait long enough for the client.
-
Fred Drake authored
- convert hostnames to lower case
-
- 14 Jan, 2003 17 commits
-
-
Tim Peters authored
-
Jeremy Hylton authored
XXX Don't expect port 9 to do anything on any machine.
-
Tim Peters authored
is check.check(btree), which performs value-based sanity checks on a BTree (or TreeSet) that the btree._check() method doesn't do. The new checks include that all the bucket keys are in sorted order, and that all the keys within each bucket, and within each internal BTree node, lie within the range necessary for that node. That last is a subtle invariant that can't be checked locally: it requires propagating range info down the tree, and modifying it for each child and each level. This *should* catch any BTree B for which iterating over the keys yields a key K for which B.has_key(K) returns false. Another function check.display(btree) prints the internal structure of a BTree (or TreeSet, Bucket, or Set) to stdout. If check.check(B) ever complains, a clearer picture of the damage can be gotten by staring at check.display(B)'s output. Also beefed up the regular BTree tests by calling check.check() in key places. No surprises (the tests still pass).
-
Jeremy Hylton authored
XXX Maybe there should be an option to allow this. A ZEO client can run in disconnected mode, using data from its cache, or in connected mode. Several instance variables are related to whether the client is connected. _server: All method calls are invoked through the server stub. When not connect, set to disconnected_stub an object that raises ClientDisconnected errors. _ready: A threading Event that is set only if _server is set to a real stub. _connection: The current zrpc connection or None. _connection is set as soon as a connection is established, but _server is set only after cache verification has finished and clients can safely use the server. _pending_server holds a server stub while it is being verified. Before this change, a client could start using a connection before verification finished. If verification took a long time, it could even commit a new transaction using a mixing of old and new data.
-
Jeremy Hylton authored
Pending does reads and writes. In the case of server startup, we may need to write out zeoVerify() messages. Always check for read status, but don't check for write status only there is output to do. Only continue in this loop as long as there is data to read.
-
Barry Warsaw authored
test.
-
Barry Warsaw authored
with StorageTypes.
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
conversion.
-
Shane Hathaway authored
updated, which resulted in one whole cache being kept for no reason.
-
Fred Drake authored
-
Chris McDonough authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
2 so they aren't normally run.
-
Barry Warsaw authored
(ReconnectionTests make no sense for MappingStorage). Also add BDBTimeoutTests. Set the level for the FileStorageConnectionTests, FileStorageTimeoutTests, BDBConnectionTests, BDBReconnectionTests, and BDBTimeoutTests to level 2 so they aren't normally run. MappingStorageConnectionTests and MappingStorageTimeoutTests both get level 1 so they are normally always run. FileStorageReconnectionTests also gets level 1 since there s no MappingStorageReconnectionTests.
-
- 13 Jan, 2003 5 commits
-
-
Fred Drake authored
complete.
-
Tim Peters authored
string to socket connect(), used 'localhost' instead).
-
Fred Drake authored
much via the xmlmarkup environment definitions.
-
Fred Drake authored
-
Fred Drake authored
- add support for HTML generation
-