1. 17 Sep, 2002 26 commits
  2. 16 Sep, 2002 8 commits
  3. 15 Sep, 2002 1 commit
    • Guido van Rossum's avatar
      Fix argument passing to the storage factory in winserver. · 207efabe
      Guido van Rossum authored
      This code used to assume that all arguments were strings.
      It was always wrong (create was passed as '0' or '1' rather
      than as 0 or 1) but this was somehow masked.  When I added
      readonly, things broke.  The solution is that winserver.py
      ha a convention that an argument starting with '=' is
      evaluated as an expression, and _startserver in testZEO's
      WindowsConnectionText uses this for the create and readonly
      args.
      207efabe
  4. 14 Sep, 2002 1 commit
  5. 13 Sep, 2002 4 commits
    • Guido van Rossum's avatar
      Import Disconnected from the correct module. · 8b3a867c
      Guido van Rossum authored
      Add a LOG call to ConnectionTests.setUp().
      
      Add tests for the ClientStorage read_only and read_only_fallback
      features.  Note that the latter feature is not completely working yet;
      the reconnect feature doesn't work, so it's of questionable value for
      now (though it *does* connect to a read-only storage whe no read-write
      storage is available).
      8b3a867c
    • Guido van Rossum's avatar
      Major refactoring of the ConnectThread, to support the · 660a7b1e
      Guido van Rossum authored
      read_only_fallback option of ClientStorage.
      
      Unfortunately, this still doesn't work completely; as shown by some
      disabled tests that I'll check in shortly, the reconnect feature is
      still broken.  But it's weekend time, and I need a checkpoint to keep
      my own sanity.
      660a7b1e
    • Guido van Rossum's avatar
      I don't like subsystem or label names with spaces in them. Instead of · 703cf4f3
      Guido van Rossum authored
      "ClientStorage <pid>", use "ClientStorage:<pid>".
      
      Also log a message when a ClientStorage instance is created, showing
      the pid, the read_only and read_only_fallback parameters, and the
      storage name.
      
      Also log some more things: the retry of the register() call with
      read_only=1, the notifyConnected call,
      
      Also clean up a few comments and docstrings, removing one XXX that
      seems out of date.
      
      Also change the _tpc_cond.wait() method call into a wait(30).  That
      way it is interruptable.
      703cf4f3
    • Guido van Rossum's avatar
      I don't like subsystem or label names with spaces in them. In the · b9a6955e
      Guido van Rossum authored
      StorageServer class, instead of "ZEO Server:<pid>", use
      "StorageServer:<pid>".  In the ZEOServer class, instead of "ZEO
      Server:<pid>:<name>", use "ZEOStorage:<pid>:<name>".
      
      Also log a message when a StorageServer instance is created, showing
      the pid, the read_only parameter, the storage names, and for each
      storage whether it is RO (read-only) or RW (read-write).
      
      Also clean up a few comments, removing one XXX that seems out of
      date, and use %r instead of %s in some log messages.
      b9a6955e