Page MenuHomePhabricator

Synchronize (hosted, git, clustered, SSH) repositories prior to reads
ClosedPublic

Authored by epriestley on Apr 19 2016, 2:49 PM.
Tags
None
Referenced Files
F13092720: D15757.diff
Thu, Apr 25, 4:48 AM
F13085044: D15757.diff
Wed, Apr 24, 11:40 PM
Unknown Object (File)
Fri, Apr 19, 4:32 PM
Unknown Object (File)
Tue, Apr 16, 12:53 AM
Unknown Object (File)
Thu, Apr 11, 7:57 AM
Unknown Object (File)
Tue, Apr 9, 5:43 AM
Unknown Object (File)
Mon, Apr 1, 3:14 AM
Unknown Object (File)
Wed, Mar 27, 6:43 AM
Subscribers
None

Details

Summary

Ref T4292. Before we write or read a hosted, clustered Git repository over SSH, check if another version of the repository exists on another node that is more up-to-date.

If such a version does exist, fetch that version first. This allows reads and writes of any node to always act on the most up-to-date code.

Test Plan

Faked my way through this and got a fetch via bin/repository update; this is difficult to test locally and needs more work before we can put it in production.

Diff Detail

Repository
rP Phabricator
Branch
rlock6
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 11838
Build 14857: Run Core Tests
Build 14856: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Synchronize (hosted, git, clustered, SSH) repositories prior to reads.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
chad added inline comments.
src/applications/almanac/controller/AlmanacServiceViewController.php
135

This revision is now accepted and ready to land.Apr 19 2016, 6:58 PM
This revision was automatically updated to reflect the committed changes.