[tahoe-dev] [tahoe-lafs] #1092: shares.happy is the wrong name of the measure

tahoe-lafs trac at tahoe-lafs.org
Thu Dec 23 19:19:34 UTC 2010


#1092: shares.happy is the wrong name of the measure
--------------------------------+-------------------------------------------
     Reporter:  zooko           |       Owner:  warner          
         Type:  defect          |      Status:  new             
     Priority:  minor           |   Milestone:  eventually      
    Component:  code-nodeadmin  |     Version:  1.7.0           
   Resolution:                  |    Keywords:  usability upload
Launchpad Bug:                  |  
--------------------------------+-------------------------------------------

Comment (by davidsarah):

 Replying to [comment:1 kevan]:
 > ...
 > I've defined {{{servers.happy}}} with the default value of 1; this means
 that servers of happiness checks will be disabled for nodes without a
 {{{servers.happy}}} directive in their {{{tahoe.cfg}}} (including the
 result of {{{tahoe create-node}}}).
 >
 > I don't think there's a particularly convincing argument for leaving the
 default at 7; probably the only good it is doing is forcing people to
 reason about their grid when they have to go in and edit {{{tahoe.cfg}}}
 when their uploads fail because their "Hello, world!" grid isn't big
 enough to satisfy {{{servers.happy=7}}}. There are probably friendlier
 ways to do that :-). I'm open to being convinced for a value that isn't 1,
 but I think that there's something to be said for giving the user the
 information that they need to set the value sensibly and staying out of
 their way until they do that.

 A value of 1 means that at least one share has been placed (it is
 vacuously true that it is on an independent server). This isn't sufficient
 for the file to be retrievable.

 We should probably require that at least {{{k}}} shares are placed in
 order for an upload or repair to succeed, regardless of the happiness
 threshold. In that case happiness thresholds less than {{{k}}} would make
 more sense.

 Independently of that, I don't think that 1 is a sensible default. Even
 for a toy grid that is only being created for someone to see that Tahoe
 works, it's not unreasonable to require at least two servers. If the
 happiness threshold is 1, then even if there are no other servers, uploads
 will succeed by putting shares on the gateway, provided it has sufficient
 space. I don't think they should succeed (by default) in that case.

-- 
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1092#comment:4>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-dev mailing list