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)
Thu, Apr 11, 8:34 AM
Unknown Object (File)
Feb 10 2024, 3:11 PM
Unknown Object (File)
Feb 7 2024, 9:20 PM
Unknown Object (File)
Jan 25 2024, 12:11 PM
Unknown Object (File)
Jan 25 2024, 11:37 AM
Unknown Object (File)
Jan 25 2024, 4:00 AM
Unknown Object (File)
Jan 1 2024, 4:55 PM
Unknown Object (File)
Jan 1 2024, 4:42 PM

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