Page MenuHomePhabricator

[drydock/core] Abstract min-max blueprint and implement expiry logic
AbandonedPublic

Authored by hach-que on Aug 30 2014, 5:41 AM.
Referenced Files
Unknown Object (File)
Thu, Apr 11, 5:33 AM
Unknown Object (File)
Tue, Apr 2, 1:28 PM
Unknown Object (File)
Sun, Mar 31, 10:18 PM
Unknown Object (File)
Sat, Mar 30, 6:12 PM
Unknown Object (File)
Sun, Mar 24, 2:03 AM
Unknown Object (File)
Mar 10 2024, 9:02 PM
Unknown Object (File)
Feb 19 2024, 2:10 PM
Unknown Object (File)
Feb 19 2024, 2:15 AM

Details

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

Depends on D10304. This abstracts the min-max blueprint implementation into an abstract class so it can be used by other implementations. It also implements resource expiry logic, so resources can be automatically closed after they have been around for a certain period of time.

Test Plan

Tested by leasing and releasing lots of resources against the min-max test allocator.

Diff Detail

Repository
rP Phabricator
Branch
abstract-minmax
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 2401
Build 2405: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

hach-que retitled this revision from to Abstract min-max blueprint and implement expiry logic.
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.

Make isTest return true for the test blueprint

hach-que retitled this revision from Abstract min-max blueprint and implement expiry logic to [drydock/core] Abstract min-max blueprint and implement expiry logic.Jul 1 2015, 4:47 AM
epriestley edited edge metadata.

Depends on code which needs to yield.

This revision now requires changes to proceed.Aug 8 2015, 5:47 PM

I have merged this diff into D10304 since the refactor was becoming too difficult to rebase (this time around it just failed completely and I had to manually re-apply the changes).