[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2896: intermittent allmydata.test.test_introducer.NonV1Server.test_failure failure
Tahoe-LAFS
trac at tahoe-lafs.org
Wed Jul 26 17:38:08 UTC 2017
#2896: intermittent allmydata.test.test_introducer.NonV1Server.test_failure
failure
-------------------------+-----------------------
Reporter: exarkun | Owner:
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: code | Version: 1.12.1
Resolution: | Keywords: test
Launchpad Bug: |
-------------------------+-----------------------
Comment (by exarkun):
It looks like `Tub.stopService` doesn't actually wait for its (Foolscap)
`Broker` connections to close. Instead, it closes them and waits about a
reactor tick ("eventually"). Evidently this is good enough most of the
time but it's not a guarantee the connections will have been closed in
time.
Fortunately, `Broker` already has an API for being notified when its
connection is actually lost. Unfortunately, for some reason,
`Tub.stopService` explicitly disables that functionality when
disconnecting its `Broker`s! I don't know why it does this.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2896#comment:2>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list