- 26 May, 2004 1 commit
-
-
Tim Peters authored
Removing the subtree rooted at ZODB/src/ZODB/zodb4/.
-
- 24 May, 2004 2 commits
-
-
Tim Peters authored
execute permissions. This deals with the ZODB and ZEO ones enumerated there.
-
Tim Peters authored
-
- 22 May, 2004 3 commits
-
-
Tim Peters authored
of the most recent full backup, repozo.py failed to find the appropriate files, erroneously claiming No files in repository before <specified time> Repaired that. Also made it much more robust against "junk files" the user may create, or leave behind, in the backup directory. Added test.
-
Tim Peters authored
but nothing in scripts/tests/ does. It failed before the earlier (today) fixes to repozo.py, and passes now. Better Than Nothing -- which is what we had before.
-
Tim Peters authored
Under exceedingly rare conditions, a timing hole made it possible for a second open() call on a database to block for an arbitrarily long time. This accounts for the intermittent failure of a thread to make any progress after 5 minutes in checkConcurrentUpdates1Storage. We intend to get rid of most of this delicate lock business, but before then the test failures are still hurting me.
-
- 21 May, 2004 2 commits
-
-
Tim Peters authored
Collector #1330: repozo.py -R can create corrupt .fs. When looking for the backup files needed to recreate a Data.fs file, repozo could (unintentionally) include its meta .dat files in the list, or random files of any kind created by the user in the backup directory. These would then get copied verbatim into the reconstructed file, filling parts with junk. Repaired by filtering the file list to include only files with the data extensions repozo.py creates (.fs, .fsz, .deltafs, and .deltafsz). Thanks to James Henderson for the diagnosis.
-
Tim Peters authored
-
- 19 May, 2004 2 commits
-
-
Tim Peters authored
This fixes it, based on an approach suggested by Toby Dickenson. The triggering condition wasn't entirely sane, so was very rare: a persistent object with a __del__ method that referenced an attribute of self. scan_gc_items(): Look at persistent objects accessed while this is running at most once. New test checkMinimizeTerminates(): This spawns a thread that will in fact run forever if you don't recompile cPickleCache.c. The test suite will keep running, but checkMinimizeTerminates will fail, and all future calls to cacheMinimize() will be effectively ignored (so other bad things may happen as a result).
-
Tim Peters authored
why the sleeps are needed. The explanation (and the sleeps) didn't make sense -- must be left over from a cache implementation before my time.
-
- 14 May, 2004 8 commits
-
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
Added long-requested docs about mutating BTrees while iterating over them. Will regen the .pdf and .html later (I want to add more .tex docs first).
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
-
- 11 May, 2004 4 commits
- 10 May, 2004 2 commits
-
-
Tim Peters authored
BTree. This came up on the zodb-dev list last week, and Steve Alexander pointed out that the simple fix is virtually unknown in the community. Then again, I hope the problem is virtually unknown in the wild now too.
-
Fred Drake authored
-
- 07 May, 2004 1 commit
-
-
Tim Peters authored
The refcount reported for a ghost was one too small, because the code for ghosts and non-ghosts was the same, and presumably "it's a feature" that the code for non-ghosts deliberately lies about the true Python refcount, in order (guessing here) to report what the count would have been if the cPickleCache didn't exist. But while the cPickleCache holds on to a real reference to non-ghost objects, it does not hold a real reference to ghost objects, so subtracting "an extra" count for all objects made it appear that non-referenced ghosts exist in the cache (which doesn't actually happen). What a tangled web we weave ...
-
- 05 May, 2004 4 commits
-
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
- fix typo in extension module name
-
Fred Drake authored
-
- 04 May, 2004 1 commit
-
-
Tim Peters authored
testNoDamage(): Verify that the recovered .fs is in fact identical to the original .fs.
-
- 03 May, 2004 10 commits
-
-
Scott Pascoe authored
-
Scott Pascoe authored
-
Tim Peters authored
-
Tim Peters authored
that the number of bytes removed ends with "0". Other tests: if the output doesn't contain 'error', show the actual output.
-
Scott Pascoe authored
-
Scott Pascoe authored
-
Tim Peters authored
fsrecover.py: the call to restore() was still using .serial, which no longer exists. Changed to use .tid. testRecover.py: the tests here passed despite that fsrecover wasn't working at all. Changed RecoverTest.recover() to eliminate its unused arguments, and to return all the output fsrecover.recover() produces (the output was being thrown away, unlooked at). Added new testNoDamage(), which feeds recovery a healthy .fs, and then looks at the output of recovery, to verify that no errors were reported and no bytes were removed by recovery. Changed all the other tests to stop passing unused arguments to RecoverTest.recover(), and to verify that error output was produced by recovery. XXX I'm not sure that every call to RecoverTest.recover() will actually XXX produce an error in fsrecover.recover(), so we may get some spurious XXX test failures here. I'll keep my open for those. (The kinds of XXX damage tested are randomized, so one run doesn't prove anything.)
-
Tim Peters authored
'pack' default value from 0 to None (this looks like the clear intent of the code). Note that fsrecover.py is totally broken, but testRecover.py isn't detecting it. I'm working on repairing both.
-
Tim Peters authored
the first function defn.
-
Tim Peters authored
tried to print the module docstring, but in an unreachable line. In case of more than 2 positional args, the code died with a mysterious "unpack tuple of wrong size" exception; check for the correct # of args directly instead. Print all error msgs to stderr instead of stdout.
-