mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 13:07:56 +00:00
The Tahoe-LAFS decentralized secure filesystem.
794e32738f
Mutable servermap updates and the immutable checker, when run with add_lease=True, send both the do-you-have-block and add-lease commands in parallel, to avoid an extra round trip time. Many older servers have problems with add-lease and raise various exceptions, which don't generally matter. The client-side code was catching+ignoring some of them, but unrecognized exceptions were passed through to the DYHB code, concealing the DYHB results from the checker, making it think the server had no shares. The fix is to separate the code paths. Both commands are sent at the same time, but the errback path from add-lease is handled separately. Known exceptions are ignored, the others (both unknown-remote and all-local) are logged (log.WEIRD, which will trigger an Incident), but neither will affect the DYHB results. The add-lease message is sent first, and we know that the server handles them synchronously. So when the checker is done, we can be sure that all the add-lease messages have been retired. This makes life easier for unit tests. |
||
---|---|---|
bin | ||
contrib | ||
docs | ||
mac | ||
misc | ||
src/allmydata | ||
twisted/plugins | ||
windows | ||
_auto_deps.py | ||
.darcs-boringfile | ||
COPYING.GPL | ||
COPYING.TGPPL.html | ||
CREDITS | ||
ez_setup.py | ||
Makefile | ||
NEWS | ||
README | ||
relnotes-short.txt | ||
relnotes.txt | ||
setup.cfg | ||
setup.py | ||
Tahoe.home |
Welcome to the Tahoe project [1], a secure, decentralized, fault-tolerant filesystem. All of the source code is available under a Free Software, Open Source licence (or two). Please see docs/about.html for an introduction, docs/install.html for install instructions, docs/running.html for usage instructions. Finally, see docs/known_issues.txt for things that you need to know about if you are relying on Tahoe to store your valuable data. [1] http://allmydata.org