mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-02 09:58:24 +01:00
No description
f3e154eb02
Summary: Fixes T13192. See PHI1015. When you deactivate a repository, we currently stop serving it. This creates a problem for intracluster sync, since new nodes can't sync it. If nothing else, this means that if you "ship of theseus" your cluster and turn nodes over one at a time, you will eventually lose the entire repository. Since that's clearly a bad outcome, support sync. Test Plan: Testing this requires a "real" cluster, so I mostly used `secure`. I deactivated rGITTEST and ran this on `secure002`: ``` ./bin/repository thaw --demote secure002.phacility.net --force GITTEST && ./bin/repository update GITTEST ``` Before the patch, this failed: ``` [2019-01-31 19:40:37] EXCEPTION: (CommandException) Command failed with error #128! COMMAND git fetch --prune -- 'ssh://172.30.0.64:22/diffusion/GITTEST/' '+refs/*:refs/*' STDOUT (empty) STDERR Warning: Permanently added '172.30.0.64' (RSA) to the list of known hosts. phabricator-ssh-exec: This repository ("rGITTEST") is not available over SSH. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. ``` After applying (a similar patch to) this patch to `secure001`, the sync worked. I'll repeat this test with the actual patch once this deploys to `secure`. Reviewers: amckinley Reviewed By: amckinley Maniphest Tasks: T13192 Differential Revision: https://secure.phabricator.com/D20077 |
||
---|---|---|
bin | ||
conf | ||
externals | ||
resources | ||
scripts | ||
src | ||
support | ||
webroot | ||
.arcconfig | ||
.arclint | ||
.arcunit | ||
.editorconfig | ||
.gitignore | ||
LICENSE | ||
NOTICE | ||
README.md |
Phabricator is a collection of web applications which help software companies build better software.
Phabricator includes applications for:
- reviewing and auditing source code;
- hosting and browsing repositories;
- tracking bugs;
- managing projects;
- conversing with team members;
- assembling a party to venture forth;
- writing stuff down and reading it later;
- hiding stuff from coworkers; and
- also some other things.
You can learn more about the project (and find links to documentation and resources) at Phabricator.org
Phabricator is developed and maintained by Phacility.
SUPPORT RESOURCES
For resources on filing bugs, requesting features, reporting security issues, and getting other kinds of support, see Support Resources.
NO PULL REQUESTS!
We do not accept pull requests through GitHub. If you would like to contribute code, please read our Contributor's Guide.
LICENSE
Phabricator is released under the Apache 2.0 license except as otherwise noted.