1. 02 Oct, 2003 9 commits
  2. 30 Sep, 2003 1 commit
  3. 25 Sep, 2003 2 commits
  4. 15 Sep, 2003 1 commit
  5. 03 Sep, 2003 1 commit
  6. 06 Aug, 2003 2 commits
    • Tim Peters's avatar
      checkTimeoutAfterVote, · 3ac7c1e7
      Tim Peters authored
      checkTimeoutProvokingConflicts:  These shouldn't start a server; setup
      already did.  Starting two servers caused intermittent failures on
      Windows, due to lockfile contention.
      3ac7c1e7
    • 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
  7. 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
  8. 30 Jul, 2003 1 commit
  9. 28 Jul, 2003 2 commits
  10. 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
  11. 10 Jul, 2003 4 commits
  12. 09 Jul, 2003 1 commit
  13. 03 Jul, 2003 1 commit
  14. 01 Jul, 2003 2 commits
  15. 30 Jun, 2003 1 commit
  16. 24 Jun, 2003 3 commits
  17. 20 Jun, 2003 1 commit
  18. 19 Jun, 2003 1 commit
  19. 18 Jun, 2003 1 commit
  20. 16 Jun, 2003 3 commits
    • Jeremy Hylton's avatar
      The usual version numbers · a7e88929
      Jeremy Hylton authored
      a7e88929
    • Jeremy Hylton's avatar
    • Tim Peters's avatar
      CommonSetupTearDown.tearDown(): Ack, this is a mess. Before 2.3, there's · fa0327cd
      Tim Peters authored
      not enough stuff in the Windows Python to wait for spawned servers to shut
      down.  Spawned servers inherit descriptors for open files from the
      spawning process, and because Windows won't let you delete a file that's
      still open, the client can't get rid of temp .zec files until the server(s)
      disappear(s).  There's no good fix for this before 2.3 on Windows.  For
      now, try deleting the temp files repeatedly, sleeping between failures,
      but don't wait forever.  If a temp file can't be deleted in the end, raise
      the appropriate exception.  This should be rare.  It's important not to
      keep going blindly, as I saw one case earlier today where a test passed
      by accident due to picking up a .zec file left behind by a previous test
      run.
      fa0327cd