1. 06 Aug, 2003 1 commit
    • Tim Peters's avatar
      Forward-porting critical ZEO client fixes from ZODB3-3_1-boston-branch. · e2c28914
      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).
      e2c28914
  2. 02 Aug, 2003 2 commits
    • Chris McDonough's avatar
      Refactor start_zope function and add tests for its functionality. · c219b65a
      Chris McDonough authored
      Changes:
      
       - startup log handler now pays attention to the logging levels of
         the handlers defined within the config file and uses the "lowest"
         level to log messages to stdout during startup.
      
       - entirely removed warning when the starting user's umask is "too
         permissive".  it wasn't clear that it added any value under normal
         operations.
      
       - replaced ancient setuid code with code stolen from zdaemon that
         works the same but looks nicer.
      c219b65a
    • Chris McDonough's avatar
      Don't try to optimize by checking for disabled and effective levels within the... · 3d5726eb
      Chris McDonough authored
      Don't try to optimize by checking for disabled and effective levels within the log method.  The logger's level may not be meaningful if this logger is configured with handlers that accept messages at a lower level than that of the logger itself.
      
      3d5726eb
  3. 30 Jul, 2003 1 commit
  4. 28 Jul, 2003 2 commits
  5. 15 Jul, 2003 1 commit
    • Tres Seaver's avatar
      · 86207a9d
      Tres Seaver authored
        - Make ZEO server actually startable.  Note that the ZConfig option
          for the authentication database is named 'database', while the
          equivalent argument to the StorageServer initializer is called
          'filename':  "One of these things just doesn't belong!"
      86207a9d
  6. 10 Jul, 2003 4 commits
  7. 09 Jul, 2003 1 commit
  8. 03 Jul, 2003 1 commit
  9. 01 Jul, 2003 2 commits
  10. 30 Jun, 2003 1 commit
  11. 24 Jun, 2003 3 commits
  12. 20 Jun, 2003 1 commit
  13. 19 Jun, 2003 1 commit
  14. 18 Jun, 2003 1 commit
  15. 16 Jun, 2003 18 commits