Page MenuHomePhabricator

[drydock/core] Mark leases as broken when failing to acquiring lease
AbandonedPublic

Authored by epriestley on Sep 4 2014, 7:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 24 2024, 11:06 AM
Unknown Object (File)
Oct 24 2024, 2:06 AM
Unknown Object (File)
Oct 23 2024, 12:00 AM
Unknown Object (File)
Oct 21 2024, 2:07 AM
Unknown Object (File)
Oct 20 2024, 12:59 PM
Unknown Object (File)
Oct 19 2024, 3:57 PM
Unknown Object (File)
Oct 18 2024, 6:37 AM
Unknown Object (File)
Oct 18 2024, 5:14 AM

Details

Reviewers
hach-que
Group Reviewers
Blessed Reviewers
Summary

This ensures Drydock leases get marked as Broken when acquiring the lease fails, so that resources don't stay open despite haven't no actual leases against them.

Test Plan

Tested in production

Event Timeline

hach-que retitled this revision from to Mark leases as broken when failing to acquiring lease.
hach-que updated this object.
hach-que edited the test plan for this revision. (Show Details)
hach-que added a reviewer: epriestley.
hach-que edited edge metadata.

Also ensure resources are closed if the only active lease was the one that was broken

epriestley edited edge metadata.

Haven't tested this yet

This revision now requires changes to proceed.Aug 8 2015, 5:49 PM
hach-que requested a review of this revision.Aug 24 2015, 2:41 AM
hach-que edited the test plan for this revision. (Show Details)
hach-que edited edge metadata.
hach-que retitled this revision from Mark leases as broken when failing to acquiring lease to [drydock/core] Mark leases as broken when failing to acquiring lease.
hach-que edited edge metadata.

This patch has actually been in production for 6+ months.

epriestley edited reviewers, added: hach-que; removed: epriestley.

This should be handled by D14212 (and companion D14211, for resources) now. They're probably still a bit shaky but basically do the exact same thing this patch does.