Ref T2015. This fixes (hopefully) the last few race conditions possible in Drydock.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Maniphest Tasks
- T2015: Implement Drydock
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
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
src/applications/drydock/worker/DrydockAllocatorWorker.php | ||
---|---|---|
85 | This is not an upstreamable lock strategy. |