- 14 Jan, 2003 14 commits
-
-
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 12 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
-
Fred Drake authored
language, trying to set the pattern for the reference portion of that section.
-
Fred Drake authored
language.
-
Fred Drake authored
since that function is no longer available, and was removed from the documented API a while ago.
-
Fred Drake authored
- normalized whitespace
-
Fred Drake authored
This opens the door for separate database implementations to work nicely with the ZConfig "ZODB" component.
-
Fred Drake authored
no other handlers are provided. This is needed to avoid warnings on stderr from the logging package.
-
Guido van Rossum authored
-
- 10 Jan, 2003 11 commits
-
-
Fred Drake authored
clear in the table of contents and section headings too.
-
Fred Drake authored
supported in the current version when using schema - move the docs for the backward-compatibility modules to the end, nicely out of the way
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
Needs more work, but can deal with at least logging to files and STDERR. Log rotation has been tested.
-
Fred Drake authored
- add a way to control how logging is re-initialized
-
Fred Drake authored
-
Guido van Rossum authored
these were still used by the test suite. :-(
-
Fred Drake authored
-
Fred Drake authored
import to load the database and storage types.
-
Fred Drake authored
- re-organize for easier reading
-
- 09 Jan, 2003 3 commits
-
-
Jeremy Hylton authored
Placeholder for more tests.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
XXX Maybe this belongs in BaseStorage.
-