Page MenuHomePhabricator

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

Authored by epriestley on Apr 19 2016, 2:49 PM.
Referenced Files
Unknown Object (File)
Wed, Aug 10, 4:42 AM
Unknown Object (File)
Mon, Aug 8, 11:20 PM
Unknown Object (File)
Fri, Jul 29, 8:35 AM
Unknown Object (File)
Jul 6 2022, 6:45 AM
Unknown Object (File)
Jul 2 2022, 6:45 PM
Unknown Object (File)
Jun 20 2022, 5:01 PM
Unknown Object (File)
Jun 20 2022, 1:08 AM
Unknown Object (File)
Jun 12 2022, 10:00 PM



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

rP Phabricator
Lint Not Applicable
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.

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.