- 27 May, 2004 1 commit
-
-
Chris Withers authored
- refactored slightly - logged when object cannot be resolved on re-indexing of an index - made manage_reindexIndex more efficient.
-
- 26 May, 2004 3 commits
-
-
Andreas Jung authored
No commit message
-
Stuart Bishop authored
won't fail.
-
Andreas Jung authored
-
- 23 May, 2004 7 commits
-
-
Chris McDonough authored
-
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.
-
Chris McDonough authored
-
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.
-
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.
-
Chris McDonough authored
Collector 1304: zopectl doesn't allow specification of zdrun effective user.
-
Chris Withers authored
-
- 22 May, 2004 4 commits
-
-
Chris McDonough authored
No commit message
-
Chris McDonough authored
-
Andreas Jung authored
-
Andreas Jung authored
- Collector #1345: AcceleratedHTTPCacheManager now sends the Last-Modified header.
-
- 21 May, 2004 2 commits
-
-
Andreas Jung authored
-
Andreas Jung authored
-
- 20 May, 2004 2 commits
-
-
Chris McDonough authored
-
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.
-
- 19 May, 2004 2 commits
-
-
Chris McDonough authored
-
Tres Seaver authored
-
- 18 May, 2004 4 commits
-
-
Chris McDonough authored
Do logging only if Z_TOC_DEBUG environment variable is set. Raise ConflictError from _p_resolveConflict instead of returning None if conflict cannot be resolved. I think someone changed the contract of this method but the code hasn't caught up til now.
-
Andreas Jung authored
No commit message
-
Casey Duncan authored
Port mergeResults() tests
-
Chris McDonough authored
-
- 17 May, 2004 3 commits
-
-
Andreas Jung authored
splitlines() instead of split('\n').
-
Philipp von Weitershausen authored
docstring instead, as the new style suggests.
-
Philipp von Weitershausen authored
- replaced old CVS expansion with a clean $Id$ - set the svn:keywords property to "Id" When you check-in files in the future and want $Id$ to be expanded, make sure it reads "$Id$" in that file; then set svn:keywords to "Id". ZODB, ZEO, Persistence and similar packages were not modified since they are really maintained elsewhere. Right now, we use a copy of them in our Zope/Zope3 trees. We should go back to the module sharing (using svn:externals).
-
- 16 May, 2004 8 commits
-
-
Andreas Jung authored
in DA.py
-
Andreas Jung authored
-
Andreas Jung authored
-
Andreas Jung authored
-
Andreas Jung authored
-
Chris McDonough authored
-
Chris McDonough authored
connection can be holding on to an object with references to an object that has been recently garbage collected. When the object is unghosted in the reference-holding thread, the storage cannot find the oid (because it's out of storage due to gc). We work around this by turning KeyErrors that we believe are due to this scenario into ConflictErrors.
-
Chris McDonough authored
and closing a connection between each request.
-
- 15 May, 2004 4 commits
-
-
Chris McDonough authored
-
Chris McDonough authored
New "Transience" implementation. This implementation offers no new features, but is is vastly simpler, which makes it easier to maintain. The older version used all sorts of (questionable) tricks to attempt to avoid conflicts and to improve performance, such as using Python Queue-module queues to store action lists, using an index to quickly look up which "bucket" a transient object was stored within and several other persistent objects which attempted to keep pointers into the data. The older version also had a lot of "voodoo" code in it which papered over problems that was apparenly caused by its complexity. This code is now removed/replaced and the implementation is fairly straight- forward. The newer version is probably much slower (due to the lack of an index, it needs to scan all "current" buckets to attempt to find a value), but it operates reliably under high load. This implementation removes backwards compatibility support for transient object containers persisted via the Zope 2.5.X implementation. It is possible to use it against instances created in Zope 2.6.X and better, and it is possible after using it against a database created under one of these flavors to move back to an "older" Zope in this range, although it is likely that data in the TOC will be silently lost when this is done.
-
Andreas Jung authored
-
Christian Heimes authored
-