Page MenuHomePhabricator

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

Authored by epriestley on Tue, Sep 3, 3:58 PM.

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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

epriestley created this revision.Tue, Sep 3, 3:58 PM
epriestley requested review of this revision.Tue, Sep 3, 4:00 PM
This revision was not accepted when it landed; it landed in state Needs Review.Tue, Sep 3, 5:05 PM
This revision was automatically updated to reflect the committed changes.