1. 04 Jun, 2004 2 commits
  2. 03 Jun, 2004 2 commits
  3. 02 Jun, 2004 2 commits
  4. 30 May, 2004 1 commit
    • Chris McDonough's avatar
      - "Bucket finalization" is now done more aggressively. Instead of waiting · d62a0d18
      Chris McDonough authored
        until a bucket is garbage collected (which may be much later than the
        expiration of that bucket), we "finalize" a bucket as soon as possible
        after it gets expired.  This effectively means that the "delete notifier"
        will be called much closer to the time that a transient object actually
        expires.
                                                                                      
      - Add a "_last_finalized_timeslice" counter; this counter keeps track of 
        the bucket which was finalized last.  Set the initial value of
        "_last_finalized_timeslice" to -period; this services the unit tests for
        finalization, where there can actually be a timeslice that is 0 and we 
         need to finalize that bucket.
                                                                                      
      - Add a series of locks to prevent finalization, replentishment, and
        garbage collection from being attempted by more than one thread
        simultaneously.
                                                                                      
      - Add "Fake" module for interactive testing purposes (swap out BTree for
        simpler object during stress tests for isolation purposes).
                                                                                      
      - Allow DATA_CLASS to be specified (this is the main data structure
        class).
      
      - Update docs and tests to account for new finalization strategy.
      d62a0d18
  5. 29 May, 2004 4 commits
  6. 28 May, 2004 13 commits
  7. 27 May, 2004 6 commits
  8. 26 May, 2004 3 commits
  9. 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