Ref T4338. Currently, if you have several mirrors and the first one fails, we won't try the other mirrors (since we'll throw and that will take us out of the mirroring process). Instead, try each mirror even if one fails, and then throw an AggregateException with all the failures.
Details
Details
- Reviewers
btrahan - Maniphest Tasks
- T4338: Support Mercurial repository mirroring
- Commits
- Restricted Diffusion Commit
rP31e11a97d2c5: If repository mirroring fails, keep trying the other mirrors
- Ran bin/repository mirror normally.
- Faked an exception, ran again, got the AggregateException I expected.
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
src/applications/repository/engine/PhabricatorRepositoryMirrorEngine.php | ||
---|---|---|
31 | this is a cool little class |