Page MenuHomePhabricator

Allow repository service lookups to return an ordered list of service refs
ClosedPublic

Authored by epriestley on Sep 3 2019, 3:58 PM.
Tags
None
Referenced Files
F18647973: D20775.diff
Fri, Sep 19, 3:26 PM
F18570574: D20775.id49540.diff
Wed, Sep 10, 3:56 AM
F18570573: D20775.id49537.diff
Wed, Sep 10, 3:56 AM
F18567344: D20775.id.diff
Tue, Sep 9, 3:42 PM
F18464348: D20775.diff
Sep 2 2025, 4:06 AM
F18092703: D20775.id49540.diff
Aug 7 2025, 12:31 PM
F18092702: D20775.id.diff
Aug 7 2025, 12:31 PM
F18092229: D20775.id49537.diff
Aug 7 2025, 8:51 AM
Subscribers
None

Details

Summary

Ref T13286. To support request retries, allow the service lookup method to return an ordered list of structured service references.

Existing callsites continue to immediately discard all but the first reference and pull a URI out of it.

Test Plan

Ran git pull in a clustered repository with an "up" node and a "down" node, saw 50% serivce failures and 50% clean pulls.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Sep 3 2019, 5:05 PM
This revision was automatically updated to reflect the committed changes.
src/applications/repository/storage/PhabricatorRepository.php
1980

This variable should have been renamed. See T13611.