[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2902: double _got_introducer if main_tab isn't started before IntroducerClient added
Tahoe-LAFS
trac at tahoe-lafs.org
Fri Feb 2 22:24:59 UTC 2018
#2902: double _got_introducer if main_tab isn't started before IntroducerClient
added
---------------------+---------------------------
Reporter: meejah | Owner:
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: unknown | Version: 1.12.1
Keywords: | Launchpad Bug:
---------------------+---------------------------
If you do this:
- create main_tub
- create IntroducerClient
- add IC as client of main_tub (setServiceParent(main_tub))
- main_tub.startService()
...then you'll get "got introducer version" twice in the IC. If you move
the "startService" up to before the setServiceParent, you only get one
notification. Is there a race in Foolscap (foolscap.pb.Tub calls
startConnecting on Reconnectors but sometimes does so twice). Could be due
to "when does the reactor start" too (i.e. some of the startConnecting
calls are in eventually()
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2902>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list