1. 28 May, 2004 5 commits
  2. 27 May, 2004 6 commits
  3. 26 May, 2004 3 commits
  4. 23 May, 2004 7 commits
    • Chris McDonough's avatar
    • Chris McDonough's avatar
      Merge from 2.7 branch: · 1eeff781
      Chris McDonough authored
      Collector 789:  Zope's transaction behavior flawed.
                                                                                      
      Historically, errors that made it up to the publisher have run outside the
      context of a transaction.  This has caused problems for applications which
      expect to be able to write to the database (if only temporarily, before
      transaction.abort() is eventually called).
                                                                                      
      With this patch, we allow the error to execute in the same transaction as
      the "main" request, and abort only after the error has executed.
      1eeff781
    • Chris McDonough's avatar
      5a38c6e8
    • Chris McDonough's avatar
      Merge from 2.7 branch: · 92a1f1b4
      Chris McDonough authored
      Ensure that persistence machinery is tickled when __setitem__, __delitem__,
      clear, and update are called on a transient object.
      
      Also, use a distinct logger for error logging.
      92a1f1b4
    • Chris McDonough's avatar
      Merge from 2.7 branch: · 1f2a7cce
      Chris McDonough authored
      - Add "instance-local" "period" to TransientObjectContainer.  This allows
        users to dial a knob which may (or may not) reduce the number of conflicts
        that happen during heavy sessioning usage by reducing the frequency at
        which buckets potentially expire at the cost of expiration time
        accuracy.  Previously, this setting was hardcoded to 20 (seconds) at
        module scope.
      
      - Add 'session-resolution-seconds' to zope.conf.in/zopeschema.xml to
        control instance-local period for /temp_folder/session_data.
      
      - Update TOC UI, interface, and help files to deal with instance-local
        period.
      
      - Update OFS/Application to deal with instance-local period for default
        /temp/session_data TOC.
      
      - Use __setstate__ for TOC upgrade instead of a dedicated _upgrade method
        (it was too hard to figure out where to call _upgrade from and when to
        call it).
      
      - Perform a few formatting changes that should make it easier to merge the 2.7
        branch with the HEAD going forward.  I beseech those who make formatting
        changes to a branch or the HEAD make them to the other at that time
        as well, especially with the SVN/CVS split it's very painful to do merging
        when there are non-substantive differences between HEAD/maint.  When I was
        a child, I never thought I would need to use the word "beseech", however, it
        has indeed happened.
      1f2a7cce
    • Chris McDonough's avatar
      Merge from 2.7 branch: · 0871e361
      Chris McDonough authored
      Collector 1304: zopectl doesn't allow specification of zdrun effective user.
      0871e361
    • Chris Withers's avatar
  5. 22 May, 2004 4 commits
  6. 21 May, 2004 2 commits
  7. 20 May, 2004 2 commits
    • Chris McDonough's avatar
      6f2d9bf5
    • Chris McDonough's avatar
      Merge from 2.7 branch: · 5c95b165
      Chris McDonough authored
      - Simple parameterization of BUCKET_CLASS for testing/debugging purposes.
        BUCKET_CLASS can be set to something like "dict" in order to isolate
        future problems potentially caused by OOBTrees (not that there seem
        to be any, but it's nice to be able to confirm).
                                                                                      
      - Log at INFO level in TLOG instead of BLATHER.
                                                                                      
      - Fix "off by one" error in _getCurrentSlices and explain.
                                                                                      
      - Add various DEBUG and TLOG statements for testing/debugging purposes.
                                                                                      
      - Arrange to compare against "default" instead of "_marker" in .get.
                                                                                      
      - Use random.uniform instead of random.choice to decide how to sleep.
                                                                                      
      - Use "_wrap" instead of directly calling __of__ for consistency.
      5c95b165
  8. 19 May, 2004 2 commits
  9. 18 May, 2004 4 commits
  10. 17 May, 2004 3 commits
  11. 16 May, 2004 2 commits