Commit 7276929
committed
Fix broker sliver leak: always relinquish ticket on close
Move do_relinquish() from except to finally block in both the
BlockedJoin close path and the probe_pending() Closing path so
the Broker is notified regardless of whether the Authority close
RPC succeeds or fails. do_relinquish() is idempotent so the
duplicate call in update_lease(CloseWait) is safe.1 parent 650283d commit 7276929
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
759 | 759 | | |
760 | 760 | | |
761 | 761 | | |
| 762 | + | |
762 | 763 | | |
763 | 764 | | |
764 | 765 | | |
| |||
1272 | 1273 | | |
1273 | 1274 | | |
1274 | 1275 | | |
1275 | | - | |
1276 | | - | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
1277 | 1280 | | |
1278 | 1281 | | |
1279 | 1282 | | |
| |||
0 commit comments