The Tahoe-LAFS decentralized secure filesystem.
Go to file
Brian Warner 9acf5beebd immutable repairer: populate servers-responding properly
If a server did not respond to the pre-repair filecheck, but did respond
to the repair, that server was not correctly added to the
RepairResults.data["servers-responding"] list. (This resulted from a
buggy usage of DictOfSets.union() in filenode.py).

In addition, servers to which filecheck queries were sent, but did not
respond, were incorrectly added to the servers-responding list
anyawys. (This resulted from code in the checker.py not paying attention
to the 'responded' flag).

The first bug was neatly masked by the second: it's pretty rare to have
a server suddenly start responding in the one-second window between a
filecheck and a subsequent repair, and if the server was around for the
filecheck, you'd never notice the problem. I only spotted the smelly
code while I was changing it for IServer cleanup purposes.

I added coverage to test_repairer.py for this. Trying to get that test
to fail before fixing the first bug is what led me to discover the
second bug. I also had to update test_corrupt_file_verno, since it was
incorrectly asserting that 10 servers responded, when in fact one of
them throws an error (but the second bug was causing it to be reported
anyways).
2012-05-16 16:55:09 -07:00
bin bin/tahoe-script.template: fix the error message that is displayed when a runner script cannot be found. fixes #1488 2011-08-17 22:26:51 +00:00
darcsver-1.7.2.egg setup: upgrade bundled version of darcsver from 1.7.1 to 1.7.2 to support the new bbfreeze feature (by, strangely, having darcsver write out unix newlines regardless of what the underlying platform prefers) 2011-01-20 21:28:38 -08:00
docs Change logging.rst to address warner's review comment. refs #1693 2012-05-16 22:13:29 +00:00
misc test-dont-use-too-old-dep.py: fix tarfile timestamps 2012-05-12 23:34:03 -07:00
setuptools-0.6c16dev3.egg Bundled zetuptoolz: bump version in EGG-INFO directory. 2010-11-28 10:42:42 -08:00
src immutable repairer: populate servers-responding properly 2012-05-16 16:55:09 -07:00
static Make bb-freeze (and probably other static packaging tools) work. This updates various places where we assumed that the tahoe process was executed via the Python interpreter. It also allows tests to recursively invoke the same tahoe.exe, rather than bin/tahoe. refs #585 2011-01-21 00:04:29 -08:00
twisted/plugins twisted/allmydata_trial.py: fix stale comment that referred to trial_figleaf.py (replaced with trial_coverage.py). 2011-01-21 17:39:13 -08:00
.darcs-boringfile restore .gitignore, stop .darcs-boringfile it 2012-01-09 02:52:43 +00:00
.gitignore .gitignore: ignore generated test-coverage files too 2012-01-12 22:56:29 -08:00
COPYING.GPL Fix repeated 'the' in license text. 2011-08-19 13:48:36 -07:00
COPYING.TGPPL.rst docs: fix the rst formatting of COPYING.TGPPL.rst 2011-10-02 21:33:33 -07:00
CREDITS Update my (davidsarah) gpg fingerprint in CREDITS. Mwahaha! :-) 2012-05-16 23:15:26 +00:00
Makefile minor: hush pyflakes, move pycryptopp dep to unconditional section 2012-03-13 23:20:35 -07:00
MANIFEST.in MANIFEST.in: make git-based 'setup.py sdist' match darcs 2012-01-09 15:46:37 -08:00
NEWS.rst update NEWS for the 1.9.0 release 2011-10-31 05:22:52 +00:00
README.txt Update copyright notices. refs #1686 2012-03-13 20:50:57 +00:00
relnotes.txt Update more links from http: to https: in documentation and comments. 2012-03-13 20:26:54 +00:00
setup.cfg Update find_links URLs in setup.cfg to https://tahoe-lafs.org. This is not just a doc change; look out for compatibility problems. 2012-03-13 20:30:41 +00:00
setup.py Update copyright notices. refs #1686 2012-03-13 20:50:57 +00:00
Tahoe.home rename bin/allmydata-tahoe to bin/tahoe. Closes #155. 2007-10-11 03:38:24 -07:00

==========
Tahoe-LAFS
==========

Tahoe-LAFS is a Free Software/Open Source decentralized data store. It
distributes your filesystem across multiple servers, and even if some of the
servers fail or are taken over by an attacker, the entire filesystem continues
to work correctly and to preserve your privacy and security.

To get started please see `quickstart.rst`_ in the docs directory.

LICENCE
=======

Copyright 2006-2012 The Tahoe-LAFS Software Foundation

You may use this package under the GNU General Public License, version 2 or, at
your option, any later version.  You may use this package under the Transitive
Grace Period Public Licence, version 1.0, or at your option, any later
version. (You may choose to use this package under the terms of either licence,
at your option.)  See the file `COPYING.GPL`_ for the terms of the GNU General
Public License, version 2.  See the file `COPYING.TGPPL.rst`_ for the terms of
the Transitive Grace Period Public Licence, version 1.0.

See `TGPPL.PDF`_ for why the TGPPL exists, graphically illustrated on three slides.

.. _quickstart.rst: https://tahoe-lafs.org/source/tahoe-lafs/trunk/docs/quickstart.rst
.. _COPYING.GPL: https://tahoe-lafs.org/trac/tahoe-lafs/browser/COPYING.GPL
.. _COPYING.TGPPL.rst: https://tahoe-lafs.org/trac/tahoe-lafs/browser/COPYING.TGPPL.rst
.. _TGPPL.PDF: https://tahoe-lafs.org/~zooko/tgppl.pdf