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
F14407289: D15757.diff
Tue, Dec 24, 2:39 AM
Unknown Object (File)
Fri, Dec 20, 5:15 PM
Unknown Object (File)
Fri, Dec 20, 4:01 AM
Unknown Object (File)
Thu, Dec 19, 4:30 PM
Unknown Object (File)
Fri, Dec 13, 2:55 AM
Unknown Object (File)
Nov 22 2024, 10:19 PM
Unknown Object (File)
Nov 18 2024, 12:50 PM
Unknown Object (File)
Nov 15 2024, 9:13 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.