1. 15 Nov, 2002 1 commit
  2. 14 Nov, 2002 4 commits
    • Guido van Rossum's avatar
      Require Python 2.2.2 or later. · 57375f03
      Guido van Rossum authored
      57375f03
    • Fred Drake's avatar
      Normalize whitespace. · 1f56608d
      Fred Drake authored
      Update information about the version of Python required -- Python
      2.2.2 fixed a bug that seriously affected some Zope installations that
      used 2.2.1.
      1f56608d
    • Fred Drake's avatar
      Normalize whitespace. · 6f9b7b3f
      Fred Drake authored
      Update information about the version of Python required -- the trunk
      is now in the new world (by Papal edict; don't shoot the messenger!).
      6f9b7b3f
    • Barry Warsaw's avatar
      _collect_revs(): It's possible that the metadata and txnoids entries · 16bb52cf
      Barry Warsaw authored
      for an object revision in objrevs got collected away when the entire
      object was refcounted to zero.  Be more defensive about find and
      deleting these records.
      
      Also, truncate the packtime table before writing the new record, to
      maintain the database invariant that there is only allowed one entry
      in this table at a time.
      16bb52cf
  3. 13 Nov, 2002 8 commits
  4. 12 Nov, 2002 10 commits
  5. 11 Nov, 2002 8 commits
  6. 09 Nov, 2002 5 commits
  7. 08 Nov, 2002 4 commits
    • Barry Warsaw's avatar
      We don't need this file now that BerkeleyConfig supports setting the · 9ac77874
      Barry Warsaw authored
      cache size, and other useful BerkeleyDB parameters.
      9ac77874
    • Barry Warsaw's avatar
    • Barry Warsaw's avatar
      BerkeleyConfig: Added `frequency', `packtime', and `classicpack' · 42aacd6f
      Barry Warsaw authored
      attributes for controlling autopack behavior.
      42aacd6f
    • Barry Warsaw's avatar
      Support for autopacking in a separate thread. BerkeleyConfig now has · 9efc9849
      Barry Warsaw authored
      three new configuration variables for controlling how autopacking
      works.  Basically, you set an autopack frequency, a "packtime" -- the
      point in the past you want to pack to -- and a counter for
      automatically doing a classic pack.
      
      Specific changes here include:
      
      _setupDBs(): If autopacking is enabled, create the autopacking thread
      object and get it started.
      
      close(): When shutting down the storage, we need to stop and join the
      autopacking thread, otherwise I think we have a high possibility of
      corrupting our database (requiring recovery).
      
      _dopack(): Add a flag for whether full gc should be done or not.
      That's about the only difference between classic pack and autopack
      (the latter does not do gc).
      
      autopack(): The method that the autopacking thread calls to start an
      autopack.  It takes a pack time with the same semantics as pack(), but
      it also takes a flag specifying whether to do garbage collection of
      unreachable objects or not.
      
      _Autopack: A derived class of threading.Thread to handing the
      background autopacking.
      9efc9849