Page MenuHomePhabricator

Make PullLocal smart about which repositories it should pull
ClosedPublic

Authored by epriestley on Apr 11 2016, 4:48 PM.
Tags
None
Referenced Files
F14087396: D15682.diff
Sat, Nov 23, 9:27 PM
F14083858: D15682.id.diff
Sat, Nov 23, 5:44 AM
Unknown Object (File)
Fri, Nov 22, 8:41 PM
Unknown Object (File)
Fri, Nov 22, 1:20 AM
Unknown Object (File)
Mon, Nov 18, 1:46 PM
Unknown Object (File)
Fri, Nov 15, 3:06 PM
Unknown Object (File)
Sat, Nov 9, 8:40 PM
Unknown Object (File)
Wed, Nov 6, 6:58 AM
Subscribers
None
Tokens
"Love" token, awarded by eadler.

Details

Summary

Ref T10756. When repositories are properly configured for the cluster (which is hard to set up today), be smart about which repositories are expected to exist on the current host, and only pull them.

This generally allows daemons to pretty much do the right thing no matter how many copies are running, although there may still be some lock contention issues that need to be sorted out.

Test Plan

Screen Shot 2016-04-11 at 9.43.39 AM.png (300×1 px, 135 KB)

Diff Detail

Repository
rP Phabricator
Branch
crepo1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 11656
Build 14583: Run Core Tests
Build 14582: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Make PullLocal smart about which repositories it should pull.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
  • Say "will not be updated on this host" instead of "will not be pulled", since this applies to hosted repositories too, and is sort of confusing if not qualified.
chad edited edge metadata.
chad added inline comments.
src/applications/almanac/controller/AlmanacDeviceViewController.php
241

thx

This revision is now accepted and ready to land.Apr 11 2016, 5:12 PM
This revision was automatically updated to reflect the committed changes.