Page MenuHomePhabricator

Improve error and exception handling for Drydock leases
ClosedPublic

Authored by epriestley on Oct 1 2015, 12:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Sep 17, 2:30 AM
Unknown Object (File)
Sun, Sep 15, 4:53 AM
Unknown Object (File)
Tue, Sep 10, 6:30 AM
Unknown Object (File)
Mon, Sep 9, 6:56 PM
Unknown Object (File)
Sun, Sep 8, 3:55 PM
Unknown Object (File)
Thu, Sep 5, 4:39 PM
Unknown Object (File)
Thu, Sep 5, 4:39 PM
Unknown Object (File)
Thu, Sep 5, 4:39 PM
Subscribers
None

Details

Summary

Ref T9252. See companion change in D14211. This does the same thing for leases.

Particularly, most of the TODOs about error handling can just be removed because they'll do the right things by default now.

This and D14211 also move slot lock release to after resource destruction. This feels cleaner than trying to release early at release/break.

Test Plan

Restarted a Harbormaster build, got a clean build result. This needs more vetting but I'll clean up any issues as I hit them.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Improve error and exception handling for Drydock leases.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: chad, hach-que.
hach-que edited edge metadata.
This revision is now accepted and ready to land.Oct 1 2015, 12:59 PM
This revision was automatically updated to reflect the committed changes.