1. 19 Sep, 2002 8 commits
  2. 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
  3. 17 Sep, 2002 26 commits
  4. 16 Sep, 2002 4 commits
    • Jeremy Hylton's avatar
      Rewrite new_persistent_id() to make it clear what's going on. · e94f7e66
      Jeremy Hylton authored
      Reformat all the code to use Python style.
      
      We got an undiagnosed bug report for coptimization, which lead to an
      attempt at code review.
      
      Break up a the large new_persistent_id() function into several helpers
      -- get_class(), get_class_tuple(), and set_oid().  Each function now
      does a little less.  Don't reuse variable names for random purposes.
      e94f7e66
    • Guido van Rossum's avatar
      This checkin contains changes (by me) that will allow multiple · 121f2e20
      Guido van Rossum authored
      parallel outstanding calls.  However it also contains code (by Jeremy,
      with one notifyAll() call added by me) that enforces the old rule of a
      single outstanding call.  This is hopefully unnecessessary, but we
      haven't reviewed the server side yet to make sure that that's really
      the case (the server was until now getting serialized calls per
      connection).
      121f2e20
    • Guido van Rossum's avatar
      Fix a subtle bug that caused hard-to-find hangs on Win98 in · f89b404b
      Guido van Rossum authored
      checkCommitLock2On{Abort,Commit}.  When
      ZEOStorage.notifyDisconnected() calls self.tpc_abort(), it is possible
      that self.strategy is DelayedCommitStrategy.  In that case,
      ZEOStorage.tpc_abort() should *not* call self._handle_waiting(),
      otherwise there could be two ZEOStorage instances whose strategy is
      ImmediateCommitStrategy!
      f89b404b
    • Guido van Rossum's avatar
      I don't see why self._closed should be None for false and 1 for · d19548b2
      Guido van Rossum authored
      true.  Use 0 for false instead.
      d19548b2