[tahoe-dev] servers-of-happiness default of 7 prevents first-time installation from working "out of the box"

Zooko O'Whielacronx zookog at gmail.com
Tue Jun 15 16:14:43 PDT 2010


With the current code base in Tahoe-LAFS 1.7β, the default setting for
servers-of-happiness is 7:

http://tahoe-lafs.org/trac/tahoe-lafs/browser/trunk/src/allmydata/client.py?rev=4193#L110

But when someone follows the quickstart instructions:

http://tahoe-lafs.org/source/tahoe-lafs/trunk/docs/running.html

They will probably create only one server, so then when they try to
upload something they will get an UploadUnhappinessError.

One possible solution to this would be to lower the default
servers-of-happiness from 7 to 1. This would require us to also lower
the default number of shares needed from 3 to 1, because the current
code won't let you have a servers-of-happiness lower than your
number-of-shares-needed:

http://tahoe-lafs.org/trac/tahoe-lafs/browser/trunk/docs/configuration.txt?rev=4283#L247

Another solution would be to instruct people in running.html to create
seven servers. By the way, running.html is due for an overall, per
ticket #1024.

At this stage of the release process I would strongly not want to make
any functional changes to code, so changing the default settings and
changing the docs are probably the only two solutions which we can
actually deploy in 1.7-final. Tahoe-LAFS v1.7-final is due to be
released and widely announced this coming weekend, so get your reports
in about how well it is working for you! :-)

This is ticket #1082.

Regards,

Zooko

http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1024# introductory docs
are confusing and off-putting
http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1082# default
servers-of-happiness=7 prevents single-server use case from working
"out of the box"


More information about the tahoe-dev mailing list