1. 18 Sep, 2002 2 commits
    • Guido van Rossum's avatar
      Cache policy improvement: · d1c6a2c8
      Guido van Rossum authored
      When load() finds a hit in the non-current file, copy it to the
      current file (except when this would cause a cache flip).
      
      It is hoped that this improves the cache performance.
      
      (Now merged into the trunk!  Jeremy & Jim want this in the ZEO and ZODB3 beta2 releases.)
      d1c6a2c8
    • Guido van Rossum's avatar
      Fix a mysterious Windows hang: checkReconnectSwitch() would fail. · 5cf04dac
      Guido van Rossum authored
      The fix is to change testConnection() to only retry the register()
      call with the read-only flag set when we're not alrady connected.
      But I don't understand why this fix is needed; I'll keep debugging.
      5cf04dac
  2. 17 Sep, 2002 26 commits
  3. 16 Sep, 2002 8 commits
  4. 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
  5. 14 Sep, 2002 1 commit
  6. 13 Sep, 2002 2 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