Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#274 closed defect (fixed)

Tub.stopService returns a Deferred that may fire before all of the Tub's Brokers have disconnected

Reported by: Jean-Paul Calderone Owned by:
Priority: major Milestone: 0.12.7
Component: network Version: 0.12.5
Keywords: Cc:


Tub.stopService doesn't try to wait for the Brokers to disconnect. It merely calls shutdown on them. In most cases, because of the fireEventually, the Brokers will indeed have disconnected by the time stopService's Deferred fires. However, it's not guaranteed. And, indeed, it recently failed to happen and caused a Tahoe-LAFS CI failure leading to this ticket:

Change History (4)

comment:1 Changed 4 years ago by Jean-Paul Calderone

Keywords: review-needed added

comment:2 Changed 4 years ago by Brian Warner

Component: unknownnetwork
Keywords: review-needed removed
Milestone: undecided0.13.0

Looks good, landing shortly.

comment:3 Changed 4 years ago by Brian Warner

Resolution: fixed
Status: newclosed

Closed by [88e4f629]

comment:4 Changed 4 years ago by Brian Warner

Note: See TracTickets for help on using tickets.