[tahoe-lafs-trac-stream] [Tahoe-LAFS] #1382: immutable peer selection refactoring and enhancements

Tahoe-LAFS trac at tahoe-lafs.org
Fri Jan 20 07:26:00 UTC 2017


#1382: immutable peer selection refactoring and enhancements
-------------------------+-------------------------------------------------
     Reporter:  kevan    |      Owner:  warner
         Type:           |     Status:  new
  enhancement            |
     Priority:  major    |  Milestone:  1.13.0
    Component:  code-    |    Version:  1.8.2
  peerselection          |
   Resolution:           |   Keywords:  servers-of-happiness blocks-release
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by dawuud):

 meejah and i made some progress in our pairing session today.

 i noticed that happinessutils had a duplicate servers of happiness
 subroutine, here:

 https://github.com/tahoe-lafs/tahoe-
 lafs/blob/ce47f6aaee952bfc9872458355533af6afefa481/src/allmydata/util/happinessutil.py#L80

 i wrote a wrapper so that servers_of_happiness in happinessutils called
 our new
 servers of happiness routine:

 https://github.com/david415/tahoe-
 lafs/blob/b49fc2eff5666d1215dbf4f532f0e14e65921405/src/allmydata/util/happinessutil.py#L81-L91

 is this the right approach?

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1382#comment:92>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list