Page MenuHomePhabricator

Fix more race conditions within Drydock
AbandonedPublic

Authored by hach-que on Sep 18 2014, 4:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 18, 11:26 AM
Unknown Object (File)
Wed, Nov 13, 6:25 PM
Unknown Object (File)
Mon, Nov 11, 7:43 AM
Unknown Object (File)
Sun, Nov 10, 12:51 AM
Unknown Object (File)
Wed, Nov 6, 10:00 AM
Unknown Object (File)
Sat, Nov 2, 10:09 PM
Unknown Object (File)
Oct 20 2024, 12:46 AM
Unknown Object (File)
Oct 9 2024, 12:03 AM

Details

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

Ref T2015. This fixes (hopefully) the last few race conditions possible in Drydock.

Test Plan

Tested this on a server that runs 32 builds in parallel (all which lease hosts), and saw all of the resources move to pending and get leases correctly, without any Lease Host steps failing.

Diff Detail

Repository
rP Phabricator
Branch
master
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2575
Build 2579: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

hach-que retitled this revision from to Fix more race conditions within Drydock.
hach-que updated this object.
hach-que edited the test plan for this revision. (Show Details)
hach-que added a reviewer: epriestley.
epriestley edited edge metadata.
epriestley added inline comments.
src/applications/drydock/worker/DrydockAllocatorWorker.php
85

This is not an upstreamable lock strategy.

This revision now requires changes to proceed.Aug 8 2015, 6:21 PM