Page MenuHomePhabricator

Fix more race conditions within Drydock
AbandonedPublic

Authored by hach-que on Sep 18 2014, 4:11 PM.
Tags
None
Referenced Files
F14476238: D10517.diff
Sat, Dec 28, 1:42 AM
Unknown Object (File)
Tue, Dec 17, 10:49 AM
Unknown Object (File)
Sat, Dec 7, 3:34 AM
Unknown Object (File)
Fri, Nov 29, 4:28 AM
Unknown Object (File)
Nov 18 2024, 11:26 AM
Unknown Object (File)
Nov 13 2024, 6:25 PM
Unknown Object (File)
Nov 11 2024, 7:43 AM
Unknown Object (File)
Nov 10 2024, 12:51 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