tahoe-lafs/src/allmydata
Brian Warner 0dee2a6036 storage: add a lease-checker-and-expirer crawler, plus web status page.
This walks slowly through all shares, examining their leases, deciding which
are still valid and which have expired. Once enabled, it will then remove the
expired leases, and delete shares which no longer have any valid leases. Note
that there is not yet a tahoe.cfg option to enable lease-deletion: the
current code is read-only. A subsequent patch will add a tahoe.cfg knob to
control this, as well as docs. Some other minor items included in this patch:

 tahoe debug dump-share has a new --leases-only flag
 storage sharefile/leaseinfo code is cleaned up
 storage web status page (/storage) has more info, more tests coverage
 space-left measurement on OS-X should be more accurate (it was off by 2048x)
  (use stat .f_frsize instead of f_bsize)
2009-03-06 22:45:17 -07:00
..
frontends Fix for bug #645, correct path handling logic so that it works from sshfs 2009-02-26 09:02:37 -07:00
gui confwiz.py - removing hardcoded version number 2008-12-02 20:38:31 -07:00
immutable add more information to NotEnoughSharesError, split out new exceptions for no-servers and no-source-of-ueb-hash 2009-03-03 19:37:15 -07:00
introducer webapi: pass client through constructor arguments, remove IClient, should make it easier to test web renderers in isolation 2009-02-20 12:15:54 -07:00
mutable add more information to NotEnoughSharesError, split out new exceptions for no-servers and no-source-of-ueb-hash 2009-03-03 19:37:15 -07:00
scripts storage: add a lease-checker-and-expirer crawler, plus web status page. 2009-03-06 22:45:17 -07:00
storage storage: add a lease-checker-and-expirer crawler, plus web status page. 2009-03-06 22:45:17 -07:00
test storage: add a lease-checker-and-expirer crawler, plus web status page. 2009-03-06 22:45:17 -07:00
util rrefutil: add check_remote utility function 2009-02-27 00:59:57 -07:00
web storage: add a lease-checker-and-expirer crawler, plus web status page. 2009-03-06 22:45:17 -07:00
windows move registry module into allmydata.windows package 2008-01-10 19:03:23 -07:00
__init__.py setup: make the "full version string" be "allmydata-tahoe/1.3.0" instead of "allmydata-tahoe-1.3.0" and the UserAgent string of the cli be "allmydata-tahoe/1.3.0 (tahoe-client)" 2009-02-12 22:37:38 -07:00
check_results.py naming: finish renaming "CheckerResults" to "CheckResults" 2009-01-09 18:00:52 -07:00
client.py webapi: pass client through constructor arguments, remove IClient, should make it easier to test web renderers in isolation 2009-02-20 12:15:54 -07:00
codec.py download: refactor handling of URI Extension Block and crypttext hash tree, simplify things 2008-12-05 08:17:54 -07:00
control.py control.py: use get_buckets() instead of get_version() to measure ping time, because the latter changed recently 2008-11-22 23:13:23 -07:00
debugshell.py finish storage server and write new download 2007-03-30 10:52:19 -07:00
dirnode.py add --add-lease to 'tahoe check', 'tahoe deep-check', and webapi. 2009-02-17 19:32:43 -07:00
hashtree.py immutable, checker, and tests: improve docstrings, assertions, tests 2008-12-21 15:07:52 -07:00
history.py mutable: move recent operation history management code (MutableWatcher) into history.py, have History provide stats 2009-01-14 17:36:20 -07:00
interfaces.py add more information to NotEnoughSharesError, split out new exceptions for no-servers and no-source-of-ueb-hash 2009-03-03 19:37:15 -07:00
key_generator.py various: use util.log.err instead of twisted.log.err, so we get both Incidents and trial-test-flunking 2008-09-20 10:35:45 -07:00
manhole.py trailing-whitespace eradication, no functional changes 2007-11-01 15:22:41 -07:00
monitor.py monitor: update interface definition: get_status() can return a Failure 2008-11-06 21:54:52 -07:00
node.py node.py: use NODEDIR/tmp for the 'tempfile' module's temporary directory, so webapi upload tempfiles are put there instead of /tmp . You can set it to something else by setting [node]tempdir in tahoe.cfg 2009-01-14 20:00:15 -07:00
provisioning.py provisioning/reliability: add tests, hush pyflakes, remove dead code, fix web links 2009-02-15 16:24:51 -07:00
reliability.py reliability.py: fix the numpy conversion, it was completely broken. Thanks to Terrell Russell for the help. 2009-02-19 13:55:15 -07:00
stats.py #330: convert stats-gatherer into a .tac file service, add 'tahoe create-stats-gatherer' 2008-11-18 01:46:20 -07:00
uri.py break storage.py into smaller pieces in storage/*.py . No behavioral changes. 2009-02-18 14:46:55 -07:00
webish.py webapi: pass client through constructor arguments, remove IClient, should make it easier to test web renderers in isolation 2009-02-20 12:15:54 -07:00