[tahoe-dev] [tahoe-lafs] #653: introducer client: connection count is wrong, !VersionedRemoteReference needs EQ

tahoe-lafs trac at allmydata.org
Mon Mar 9 00:18:07 UTC 2009


#653: introducer client: connection count is wrong, !VersionedRemoteReference
needs EQ
--------------------------+-------------------------------------------------
 Reporter:  warner        |           Owner:           
     Type:  defect        |          Status:  new      
 Priority:  major         |       Milestone:  undecided
Component:  code-network  |         Version:  1.3.0    
 Keywords:                |   Launchpad_bug:           
--------------------------+-------------------------------------------------

Comment(by warner):

 it's probably the introducer client, specifically
 {{{RemoteServiceConnector._got_service}}}, which reacts to the
 reconnector-driven connection event by calling
 {{{get_versioned_remote_reference}}}. The problem is the separate manager
 object ({{{IntroducerClient.add_connection}}} which doesn't ever see the
 real !RemoteReference, just the wrapper.. maybe we could pass back both,
 and have it use the real !RemoteReference as a dict key, and put the
 wrapper in a value. It used to use a dictionary, but I replaced it with a
 set because !RemoteReferences compare cleanly and because that made the
 code easier to read.

 I suspect that I rewrote all of this code in my signed-announcements
 branch (#466), so maybe what I ought to do is examine that branch and copy
 code from it.

-- 
Ticket URL: <http://allmydata.org/trac/tahoe/ticket/653#comment:3>
tahoe-lafs <http://allmydata.org>
secure decentralized file storage grid


More information about the tahoe-dev mailing list