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
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
Unknown Object (File)
Mar 2 2024, 6:22 PM
Unknown Object (File)
Feb 13 2024, 9:10 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.