Homec4science

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

Authored by epriestley <git@epriestley.com> on Apr 18 2016, 23:32.

Description

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

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.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T4292

Differential Revision: https://secure.phabricator.com/D15757

Details

Committed
epriestley <git@epriestley.com>Apr 19 2016, 22:05
Pushed
aubortJan 31 2017, 17:16
Parents
rPHc70f4815a958: Allow cluster devices to SSH to one another without acting as a user
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH31bc023eff76: Synchronize (hosted, git, clustered, SSH) repositories prior to reads (authored by epriestley <git@epriestley.com>).Apr 19 2016, 22:05