- 04 Mar, 2003 5 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Increase by iterating for longer, rather than making the delay longer. This helps the tests go fast on faster machines.
-
Jeremy Hylton authored
It's too much work to try to get these tests to work, considering that we are declaring start.py obsolete with the 3.2 release.
-
Jeremy Hylton authored
Print repr of description instead of str.
-
- 03 Mar, 2003 1 commit
-
-
Guido van Rossum authored
Pederson. The 'wrap' local variable was reused in a way that overwrote the value intended to set the return dictionary.
-
- 28 Feb, 2003 4 commits
-
-
Barry Warsaw authored
-
Tim Peters authored
which is used by Barry's new LockFile class. The effect of leaving regions of a file locked when closing the file, or when exiting the process, is undefined on Windows, and the new scheme restricts itself to operations with defined semantics.
-
Barry Warsaw authored
encapsulation the storage lock file.
-
Barry Warsaw authored
unlock_file() call which awaits Tim's backport of winlock.UnlockFile(). This is no-op on *nix. Also, implement a better API for dealing with lock files. Use the LockFile class for clean acquisition and release of locks, and unlinking of lock files.
-
- 25 Feb, 2003 1 commit
-
-
Fred Drake authored
- add missing period
-
- 20 Feb, 2003 5 commits
-
-
Fred Drake authored
-
Fred Drake authored
- normalize some markup usage
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
- fix lots of typos
-
- 18 Feb, 2003 1 commit
-
-
Jeremy Hylton authored
types that grow an __module__ in future versions of Python.
-
- 11 Feb, 2003 3 commits
-
-
Barry Warsaw authored
-
Fred Drake authored
- minor cleanup
-
Fred Drake authored
-
- 10 Feb, 2003 4 commits
-
-
Fred Drake authored
reconsidered. That's for another day, though.
-
Fred Drake authored
- use constant from errno module instead of magic number
-
Fred Drake authored
-
Fred Drake authored
Needed since we're not actually waiting for the ZEO server process to exit (it's a grandchild, not a child). It we don't wait, there's a race condition between one test and the next -- if the ZEO server isn't done shutting down, the database may still be locked when the next test starts.
-
- 07 Feb, 2003 1 commit
-
-
Barry Warsaw authored
it just uses the gzip module's default compression level (i.e. 9). No need to specify -z on recovery because the script will automatically uncompress gzip'd files. It does this by looking at the file extension, which will be .fsz or .deltafsz for compressed files.
-
- 06 Feb, 2003 3 commits
-
-
Barry Warsaw authored
incremental instead of all the incrementals. Less assured consistency but much less disk i/o.
-
Shane Hathaway authored
-
Shane Hathaway authored
-
- 05 Feb, 2003 4 commits
-
-
Barry Warsaw authored
saving state in a pck pickle file, and doing an incremental parse the next time. Specifically: Added -f and -r flags. The -f flag points to the pickle state file (by default ./zeoqueue.pck). The -r flag simply removes this file. This is useful for log rotation in the cron job, and yes rm would have been fine, but this option was requested by customers. process_file(): Added to Status class so that the processing is done here, where we can seek to a stored file position. Also added the secret -0 option for testing, which suppresses the file position seek (useful when the log file is split into chunks). Return the number of blocked clients as the exit status code.
-
Shane Hathaway authored
Also, avoid storing wrappers.
-
Shane Hathaway authored
-
Barry Warsaw authored
Added a module docstring as a usage() string. Also add --help/-h. Rewrote two of the regexps as verbose re's for readability <wink>. Use named groups. Use True/False where appropriate. Txn: Added a `voters' attribute which is a list of clients seen doing a vote. This is cleared on abort or finish. Thus if we see a transaction with a non-empty voters list, we know that that transaction was blocked and it was the first voter that grabbed the lock. This client (as an address) is displayed in the report. call_*(): Pass the client address into the call, as grep'd out of the zrpc-conn part of the line. Only call_tpc_vote() really cares about this. Most controversial: process the entire file, line by line. Alternatives, if necessary: - go back to the original progressive skip backwards approach - add an incremental reader (recording file positions) - use as a filter
-
- 04 Feb, 2003 2 commits
-
-
Barry Warsaw authored
iterator() method.
-
Barry Warsaw authored
BaseStorage's copyTransactionsFrom() method's "other" argument.
-
- 31 Jan, 2003 2 commits
-
-
Tim Peters authored
since the last call may have left us with an invalid index. Raise RuntimeError instead of segfaulting (or picking up random trash) if so. A new (and previously segfaulting) test case is courtesy of Steve Alexander.
-
Barry Warsaw authored
by Barry Warsaw.
-
- 29 Jan, 2003 2 commits
-
-
Guido van Rossum authored
package.
-
Barry Warsaw authored
-
- 28 Jan, 2003 2 commits
-
-
Fred Drake authored
meaningfully used the way the config schema currently defines the field, so remove it. Document the remaining settings for filestorage.
-
Fred Drake authored
meaningfully used the way the config schema currently defines the field, so remove it.
-