- 01 Nov, 2001 16 commits
-
-
Barry Warsaw authored
-
Barry Warsaw authored
1.0 release. These changes pass all the tests, but the proof will be packing some real data (to come next -- this stuff has to be checked in first). Specifically, __init__(): We now allocate a pack-lock which is acquired in pack() to prevent multiple threads from packing at the same time. This should be deadlock-proof because you should never have the storage lock when you want to acquire the pack lock (but I could be missing something obvious). _rootreachable(): New method which calculates the set of object ids reachable from the current revision of the root object. _zapobject(): Rewritten to remove the recursion. It populates a dictionary (passed in the parameter) with the oids for any objects whose refcounts went to zero because of the object we're now zapping. _zaprevision(): Same deal as _zapobjects(). _dopack(): The guts of the pack() operation, done this way so pack() itself can just be a wrapper around _dopack() with pack lock acquisition/release. This also does not acquire the storage lock until it actually has to start zapping revisions, and it releases and reacquires the lock for each revision it zaps. This gives other threads an opportunity to do work during a pack, which should never impact the pack as any work they do will happen in the future (and we're safe against bogus future pack times). pack(): Acquire the pack lock, _dopack(), release the pack lock.
-
matt@zope.com authored
-
matt@zope.com authored
-
matt@zope.com authored
-
matt@zope.com authored
-
matt@zope.com authored
-
Michel Pelletier authored
-
Amos Latteier authored
-
Barry Warsaw authored
Also, move the opening of the output and log files above the opening of the storages so there's a closer link between that and the try/finally that closes closes the storages.
-
Barry Warsaw authored
-
Barry Warsaw authored
will do this.
-
Barry Warsaw authored
"from ZODB import utils" -> "from ZODB.utils import p64, U64" fixed comment-doc for pickles table close(): Don't close the commitlog since the base class's close() will do this now. _zapobject(): Wrap _serials.delete() in a try/except ignoring DBNotFoundError. pack(): Compare refcounts to None by using "is not" instead of <>
-
Andreas Jung authored
-
Andreas Jung authored
-
Andreas Jung authored
- better regular expressions to check hostnames and domain specs - added underscore as allowed character in hostnames (this is officially forbidden by RFC 972 but underscores are often used and supported by some DNS servers).
-
- 31 Oct, 2001 5 commits
-
-
Michel Pelletier authored
-
Andreas Jung authored
-
Andreas Jung authored
-
Chris McDonough authored
-
Andreas Jung authored
-
- 30 Oct, 2001 3 commits
-
-
matt@zope.com authored
to override.
-
Andreas Jung authored
-
Andreas Jung authored
-
- 29 Oct, 2001 10 commits
-
-
Andreas Jung authored
pos() is disabled because the behaviour of the other splitters differ from the sematics of the funciton.
-
Andreas Jung authored
-
Jeremy Hylton authored
Don't test for explicit end-of-line markers, since they vary across platforms. Instead, strip() the line read and test for the actual content.
-
Andreas Jung authored
-
Andreas Jung authored
-
Andreas Jung authored
standalone but not through DTML. Fixed !
-
Andreas Jung authored
-
Andreas Jung authored
-
matt@zope.com authored
-
Andreas Jung authored
-
- 27 Oct, 2001 1 commit
-
-
matt@zope.com authored
unspecified defaults for other positions (curiously, which should fail with Python -- evidently I dont fully grok something [MTK]); should enable C acclerated access control to work again.
-
- 26 Oct, 2001 5 commits
-
-
Jim Fulton authored
lack of keyword argument support. :(
-
Evan Simpson authored
-
matt@zope.com authored
-
matt@zope.com authored
-
Evan Simpson authored
-