- 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 3 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.
-
Barry Warsaw authored
-
- 27 Jan, 2003 7 commits
-
-
Barry Warsaw authored
checkNoVerificationOnServerRestartWith2Clients(): Pass perstorage to pollUp(), which should eliminate the None != 'no verification' failures.
-
Barry Warsaw authored
so we're consistent with the cleanup that tpc_abort() does.
-
Guido van Rossum authored
Re-enable these tests; I can't reproduce the claimed breakage in the Zope 2.7 tree.
-
Barry Warsaw authored
comment describing Jim's desire to reach into ZConfig to decide whether we should enter the hosed state or not.
-
Barry Warsaw authored
we should eventually hook this into ZConfig.
-
Jeremy Hylton authored
Explicitly close sockets to make tests run faster.
-
Fred Drake authored
-
- 24 Jan, 2003 3 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
default.
-
Guido van Rossum authored
Guillaume's request.
-
- 23 Jan, 2003 9 commits
-
-
Fred Drake authored
-
Fred Drake authored
the tests.
-
Guido van Rossum authored
'show' command.
-
Fred Drake authored
same results regardless of case.
-
Guido van Rossum authored
(1) Change the mapping from zLOG levels to logging levels to use custom intermediary levels 15 and 5 for BLATHER and TRACE, rather than using a confusing skewed mapping. (2) In the ZConfig datatype definition for a logging level, added 'blather' and 'trace' to the level names, added 'warning' as an alias for 'warn', change 'all' to mean 1, and add 'notset' to mean 0. The semantics of NOTSET are very different than those of 1; setting a logger's level to NOTSET searches for a parent logger with a nonzero level. The root of all loggers is initialized with WARN as its level, so setting the level to NOTSET effectively sets it to WARN rather than to the most inclusive level! (3) In the schema, change the default level for handlers to notset, so they use their logger's level; the default level for the logger is set to info, corresponding to the old default for STUPID_LOG_SEVERITY.
-
Fred Drake authored
properly, including that use of the these stream names uses a delayed lookup of the streams).
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
configuration files easier to read.
-