Brian Warner
|
9676586732
|
mutable checker: oops, fix redefinition of 'healthy' (numshares < N, not numshares < k, which is 'recoverable' not 'healthy')
|
2008-09-09 17:28:53 -07:00 |
|
Brian Warner
|
f895e39d48
|
checker results: more tests, more results. immutable verifier tests are disabled until they emit more complete results
|
2008-09-09 17:15:46 -07:00 |
|
Brian Warner
|
90b934eb71
|
checker: add tests, add stub for immutable check_and_repair
|
2008-09-09 16:34:49 -07:00 |
|
Brian Warner
|
137750eca6
|
interfaces.py: minor improvement to IDirectoryNode.set_node
|
2008-09-09 16:34:16 -07:00 |
|
Brian Warner
|
918b0543b9
|
test_system: make log() tolerate the format= form
|
2008-09-07 20:03:36 -07:00 |
|
Brian Warner
|
af2231563e
|
immutable/checker: make log() tolerate the format= form
|
2008-09-07 20:03:08 -07:00 |
|
Brian Warner
|
3408d552cd
|
checker: overhaul checker results, split check/check_and_repair into separate methods, improve web displays
|
2008-09-07 12:44:56 -07:00 |
|
Brian Warner
|
e2c484a761
|
introducer: add get_nickname_for_peerid
|
2008-09-05 22:07:00 -07:00 |
|
Brian Warner
|
bab799297f
|
testutil.PollMixin: use a custom exception (and convert it) to avoid the ugly 'stash' cycle
|
2008-09-02 20:32:51 -07:00 |
|
Zooko O'Whielacronx
|
037c9157dc
|
setup: simplify parsing of python version number
|
2008-08-28 17:00:45 -07:00 |
|
Zooko O'Whielacronx
|
6801d5f572
|
setup: emit the version of python in the list of versions
|
2008-08-28 15:04:54 -07:00 |
|
Brian Warner
|
3b06aa6a79
|
servermap: don't log late arrivals, and don't log DeadReferenceError at log.WEIRD
|
2008-08-26 17:37:29 -07:00 |
|
Brian Warner
|
1668401c16
|
mutable: make mutable-repair work for non-verifier runs, add tests
|
2008-08-26 16:34:54 -07:00 |
|
Zooko O'Whielacronx
|
f7b4c45d46
|
mutable: remove work-around for a flaw in an older version of foolscap
We now require "foolscap[secure_connections] >= 0.3.0", per [source:_auto_deps.py].
|
2008-08-26 08:50:55 -07:00 |
|
Brian Warner
|
a94af879ff
|
logging: add 'unique-message-ids' (or 'umids') to each WEIRD-or-higher log.msg call, to make it easier to correlate log message with source code
|
2008-08-25 18:57:59 -07:00 |
|
Brian Warner
|
735aa895b9
|
logging cleanups: lower DeadReferenceError from WEIRD (which provokes Incidents) to merely UNUSUAL, don't pre-format Failures in others
|
2008-08-25 17:51:55 -07:00 |
|
Zooko O'Whielacronx
|
def9fc8cf0
|
checker: make the log() function of SimpleCHKFileVerifier compatible with the log() function of its superclasses and subclasses
|
2008-08-25 14:44:07 -07:00 |
|
Brian Warner
|
eb695f1c58
|
mutable/checker: log a WEIRD-level event when we see a hash failure, to trigger an Incident
|
2008-08-12 20:50:20 -07:00 |
|
Brian Warner
|
97852cd626
|
immutable checker: add a status_report field
|
2008-08-12 20:35:30 -07:00 |
|
Brian Warner
|
e82d77c3cf
|
mutable/servermap: lower the priority of many log messages
|
2008-08-12 20:35:06 -07:00 |
|
Brian Warner
|
e5252fd5b2
|
web/deep-check: show the webapi runtime at the bottom of the page
|
2008-08-12 20:34:26 -07:00 |
|
Brian Warner
|
7a206421b4
|
CLI: tolerate blank lines in the aliases file
|
2008-08-12 19:50:50 -07:00 |
|
Brian Warner
|
bcbb51fe4a
|
test_web: workaround broken HEAD behavior in twisted-2.5.0 and earlier
|
2008-08-12 19:45:20 -07:00 |
|
Brian Warner
|
6af4619928
|
test_web: oops, actually use HEAD (instead of GET) in the HEAD test
|
2008-08-12 19:04:51 -07:00 |
|
Brian Warner
|
4d6b504883
|
web: use get_size_of_best_version for HEAD requests, provide correct content-type
|
2008-08-12 19:04:10 -07:00 |
|
Brian Warner
|
d43baa2ad7
|
mutable: add get_size_of_best_version to the interface, to simplify the web HEAD code, and tests
|
2008-08-12 19:02:52 -07:00 |
|
Brian Warner
|
014c9b5969
|
CLI: add 'tahoe debug corrupt-share', and use it for deep-verify tests, and fix non-deep web checker API to pass verify=true into node
|
2008-08-12 17:05:01 -07:00 |
|
Brian Warner
|
c80e352951
|
IFilesystemNode: add get_storage_index(), it makes tests easier
|
2008-08-12 16:14:07 -07:00 |
|
Brian Warner
|
5c0bfd7681
|
test_system: rename Checker to ImmutableChecker, to make room for a mutable one
|
2008-08-12 15:59:32 -07:00 |
|
Brian Warner
|
67e7333955
|
'tahoe debug dump-share': add --offsets, to show section offsets
|
2008-08-12 14:46:56 -07:00 |
|
Brian Warner
|
022fcf3db8
|
test_cli: oops, fix tests after recent stdout/stderr cleanup
|
2008-08-12 14:46:34 -07:00 |
|
Brian Warner
|
acb0297806
|
scripts/debug: split out dump_immutable_share
|
2008-08-12 13:55:17 -07:00 |
|
Brian Warner
|
533afd039f
|
scripts/debug: clean up use of stdout/stderr
|
2008-08-12 13:52:42 -07:00 |
|
Brian Warner
|
1711b5591f
|
CLI: move the 'repl' command to 'tahoe debug repl'
|
2008-08-12 13:40:17 -07:00 |
|
Brian Warner
|
bb33e3e4c2
|
CLI: move all debug commands (dump-share, dump-cap, find-shares, catalog-shares) into a 'debug' subcommand, and improve --help output
|
2008-08-12 13:37:32 -07:00 |
|
Brian Warner
|
3cf70697e8
|
hush a pyflakes warning
|
2008-08-11 21:24:23 -07:00 |
|
Brian Warner
|
08e229f29a
|
web/directory: enable verify=true in t=deep-check
|
2008-08-11 21:24:09 -07:00 |
|
Brian Warner
|
1306b11a76
|
dirnode: add some deep-check logging
|
2008-08-11 21:23:38 -07:00 |
|
Brian Warner
|
79576cf75b
|
checker_results.problems: don't str the whole Failure, just extract the reason string
|
2008-08-11 21:23:06 -07:00 |
|
Brian Warner
|
d106e411af
|
checker: add information to results, add some deep-check tests, fix a bug in which unhealthy files were not counted
|
2008-08-11 21:03:26 -07:00 |
|
Brian Warner
|
17d7f7d983
|
mutable/checker: rearrange a bit, change checker-results to have a status_report string
|
2008-08-11 20:20:33 -07:00 |
|
Brian Warner
|
a15ae52122
|
mutable/servermap: add summarize_version
|
2008-08-11 20:19:30 -07:00 |
|
Brian Warner
|
376df2eb5a
|
CLI: make 'tahoe webopen' command accept aliases like 'tahoe ls'
|
2008-08-11 18:20:23 -07:00 |
|
Brian Warner
|
0d5c8468e9
|
storage: include disk-free information in the stats-gatherer output
|
2008-08-06 14:06:02 -07:00 |
|
Brian Warner
|
c7c57bd85c
|
mutable: more repair tests, one with force=True to check out merging
|
2008-08-06 12:06:07 -07:00 |
|
Brian Warner
|
a68c9364b8
|
test/common: add ShouldFailMixin
|
2008-08-06 12:05:52 -07:00 |
|
Brian Warner
|
572115a405
|
test_mutable: add comment about minimal-bandwidth repairer, comma lack of
|
2008-08-06 10:38:50 -07:00 |
|
Brian Warner
|
cdbfccd23e
|
test_mutable: factor out common setup code
|
2008-08-06 10:38:04 -07:00 |
|
Brian Warner
|
dd6ec73efa
|
mutable: start adding Repair tests, fix a simple bug
|
2008-08-05 23:12:39 -07:00 |
|
Brian Warner
|
3ad0168fbf
|
test_system: factor out find_shares/replace_shares to a common class, so they can be used by other tests
|
2008-08-05 18:49:58 -07:00 |
|