Page MenuHomePhabricator

[drydock/working-copies] Release leases when working copy operations fail
AbandonedPublic

Authored by hach-que on Jul 29 2015, 2:22 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 2:23 AM
Unknown Object (File)
Mon, Apr 22, 10:38 AM
Unknown Object (File)
Mon, Apr 22, 10:38 AM
Unknown Object (File)
Mon, Apr 22, 10:38 AM
Unknown Object (File)
Mar 15 2024, 1:53 PM
Unknown Object (File)
Feb 12 2024, 7:15 PM
Unknown Object (File)
Feb 8 2024, 4:54 AM
Unknown Object (File)
Jan 28 2024, 3:11 AM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Maniphest Tasks
T2015: Implement Drydock
Summary

Ref T2015. This makes sure that leases obtained by working copies are automatically released if exceptions occurs.

Test Plan

Not tested.

Diff Detail

Repository
rP Phabricator
Branch
hachque-reconstructed
Lint
Lint Passed
Unit
Tests Skipped
Build Status
Buildable 7796
Build 8624: [Placeholder Plan] Wait for 30 Seconds
Build 8623: arc lint + arc unit

Event Timeline

hach-que retitled this revision from to [drydock/working-copies] Release leases when working copy operations fail.
hach-que updated this object.
hach-que edited the test plan for this revision. (Show Details)
hach-que added a reviewer: epriestley.

I think this is a mixture of stuff that's now handled slightly ahead of HEAD (roughly: when a lease fails, break the lease) and stuff that probably falls under T8153 (roughly: when a lease fails because a resource is bad, break the resource). I think the working copy cache handling falls into the second camp, particularly, if I'm reading it right.

epriestley edited edge metadata.

I believe HEAD now has consistent destruction/release behavior.

This revision now requires changes to proceed.Nov 2 2015, 4:46 PM