An error occurred fetching the project authors.
  1. 02 Jan, 2004 2 commits
  2. 30 Dec, 2003 2 commits
  3. 26 Dec, 2003 1 commit
  4. 24 Dec, 2003 1 commit
  5. 28 Nov, 2003 1 commit
  6. 03 Oct, 2003 1 commit
  7. 02 Oct, 2003 1 commit
  8. 15 Sep, 2003 1 commit
  9. 06 Aug, 2003 1 commit
    • Tim Peters's avatar
      Forward-porting critical ZEO client fixes from ZODB3-3_1-boston-branch. · 5c2cfb31
      Tim Peters authored
      + If a storage times out between the vote and the finish, the ZEO cache
        could get populated with objects that don't make it to the storage
        server.
      
        A new flag self._midtxn_disconnect gets reset in tpc_begin() and set
        in notifyDisconnected().  If tpc_finish() discovers this flag set, it
        raises a ClientDisconnected error before calling tpc_finish() on the
        server.
      
      + In tpc_finish() we re-order the calls so that the server's tpc_finish()
        is called (and must succeed) before we update the ZEO client cache.
      
      + The storage name is now prepended to the sort key, to ensure a
        unique global sort order if storages are named uniquely.
      
      + Added new tests for the above (checkTimeoutAfterVote,
        checkTimeoutProvokingConflicts, checkSortKey).
      5c2cfb31
  10. 09 Jul, 2003 1 commit
  11. 16 Jun, 2003 3 commits
  12. 13 Jun, 2003 1 commit
  13. 10 Jun, 2003 1 commit
  14. 05 Jun, 2003 1 commit
  15. 30 May, 2003 3 commits
  16. 23 May, 2003 1 commit
  17. 30 Apr, 2003 1 commit
  18. 29 Apr, 2003 2 commits
  19. 22 Apr, 2003 1 commit
  20. 09 Apr, 2003 3 commits
  21. 04 Mar, 2003 1 commit
  22. 29 Jan, 2003 1 commit
  23. 27 Jan, 2003 1 commit
  24. 20 Jan, 2003 1 commit
  25. 17 Jan, 2003 1 commit
    • Jeremy Hylton's avatar
      Change handling of tpc_abort() during disconnection. · 4814babf
      Jeremy Hylton authored
      Fix likely bug where calling tpc_abort() after a client disconnected
      did not properly clear the client's internal state about the
      transaction.  The change means that tpc_abort() will never raise a
      ClientDisconnected error, even when disconnected.
      
      Added a new test that sort-of covers this case and deleted another
      that was testing, in part, that you did get a ClientDisconnected
      error.
      4814babf
  26. 15 Jan, 2003 1 commit
  27. 14 Jan, 2003 1 commit
    • Jeremy Hylton's avatar
      Prevent client from using stale cache data while connecting. · d630f4b6
      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.
      d630f4b6
  28. 07 Jan, 2003 1 commit
  29. 03 Jan, 2003 1 commit
  30. 20 Dec, 2002 1 commit
    • Guido van Rossum's avatar
      We saw a weird crash of a test run once in _update_cache() where · e17564b3
      Guido van Rossum authored
      self._tbuf was unexpectedly None.  The only way this can happen is
      when the storage is closed (probably by a different thread); close()
      sets _tbuf to None.  It turns out that a TransactionBuffer instance
      can safely be closed more than once, so there's no need to set _tbuf
      to None in the close() method.
      e17564b3
  31. 13 Dec, 2002 1 commit