1. 07 Dec, 1999 1 commit
    • Jim Fulton's avatar
      The following scenario could lead to strange and serious errors: · 58d0299a
      Jim Fulton authored
        - Restart or pack Zope, causing an index to get written
      
        - Undo some transactions
      
        - Shutdown Zope ungracefully (e.g. kill)
      
      When Zope comes up, the index points to undone records for some
      objects. This can lead to all sorts of problems. :(
      
      To overcome this problem, we now remove the index after an
      undo.
      
      This increases the likelyhood that it will take longer to restart
      next time, but reduces the chance of a bad index.
      58d0299a
  2. 23 Nov, 1999 3 commits
  3. 16 Nov, 1999 13 commits
  4. 12 Nov, 1999 1 commit
  5. 10 Nov, 1999 1 commit
  6. 28 Oct, 1999 1 commit
    • Jim Fulton's avatar
      Somehow, someone got a zero previous record pointer on a record for an · 11858d5b
      Jim Fulton authored
      object that has previous records.  This caused a panic on startup
      because the previous record pointer did not agree with the system's
      knowledge that there was, indeed, a previous record. This is a
      pretty benign situation, so, I've changed the check to log a warning
      of the previous record pointer is zero and there is a previous record.
      11858d5b
  7. 22 Oct, 1999 1 commit
  8. 18 Oct, 1999 3 commits
  9. 13 Oct, 1999 1 commit
  10. 07 Oct, 1999 5 commits
  11. 24 Sep, 1999 1 commit
  12. 23 Sep, 1999 4 commits
  13. 16 Sep, 1999 1 commit
  14. 15 Sep, 1999 2 commits
    • Jim Fulton's avatar
      Added cache management methods so that apps that want to move objects · e3c65066
      Jim Fulton authored
      out of memory can force aggressive cache behavior:
      
        cacheGC() -- do an incremental GC
      
        cacheFullSweep([dt]) -- Make a pass through objects in the cache
           removing unreferenced objects and, if dt > 0, deactivating
           objects accessed more than dt seconds ago.
      
        cacheMinimize([dt]) -- Make multiple passes through objects in the cache
           removing unreferenced objects and, if dt > 0, deactivating
           objects accessed more than dt seconds ago. Keep making passes
           until the cache size doesn;t change.
      e3c65066
    • Jim Fulton's avatar
      · 59243da3
      Jim Fulton authored
      Added a coptimizations module.  The first optimization is
      to provide an implementation of persistent_id in C.  This
      routine, which is called extremely often while pickling was
      found to be a significant bottleneck.
      59243da3
  15. 14 Sep, 1999 1 commit
    • Jim Fulton's avatar
      · 2c4caae1
      Jim Fulton authored
      Fix a bug in object deactivation.
      Overridden versions of _p_deactivate were not called.
      This meant that BTrees were never deactivated.
      2c4caae1
  16. 27 Aug, 1999 1 commit