1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 15:52:41 +01:00
phorge-phorge/src/applications/repository
epriestley 0d5538672c Detect unsynchronizable repositories on multiple cluster hosts
Summary:
Ref T12613. Currently, the SVNTEST and HGTEST repositories are improperly configured on `secure`. These repositories use VCS systems which do not support synchronization, so they can not be served from cluster services with multiple hosts.

However, I've incorrectly configured them the same way as all the Git repositories, which support synchronization. This causes about 50% of requests to randomly fail (when they reach the wrong host).

Detect this issue and warn the user that the configuration is not valid.

It should be exceptionally difficult for normal installs to run into this.

Test Plan:
  - Mostly faked these conditions locally, verified that `secure` really has this configuration.
  - I'll push this, verify that the issue is detected correctly in production, then fix the config which should resolve the intermittent issues with SVNTEST.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12613

Differential Revision: https://secure.phabricator.com/D17774
2017-04-24 10:43:05 -07:00
..
conduit Mark "v3" API methods as stable; mark obsoleted methods as "Frozen" 2017-01-09 07:16:27 -08:00
config Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
constants Give users a modal VCS choice when creating a new repository 2016-04-29 09:20:31 -07:00
customfield Move various other callsites away from callsigns 2016-01-04 06:54:42 -08:00
daemon Allow the PullLocal daemon to actually hibernate 2017-04-06 15:41:19 -07:00
data Remove all uses of PhutilGitURI in Phabricator 2016-06-13 07:20:58 -07:00
editor Allow the PullLocal daemon to actually hibernate 2017-04-06 15:41:19 -07:00
engine Don't use "--" to separate flags and arguments in "git ls-remote" 2017-03-18 17:54:09 -07:00
graphcache Remove duplicated duplicated words 2015-06-27 08:43:44 -07:00
mail Build separate mail for each recipient, honoring recipient access levels 2015-06-03 18:59:31 -07:00
management Provide more useful guidance if a repository is clusterized into an existing multi-device cluster 2017-01-10 12:45:55 -08:00
phid Render revision and audit state icons in Maniphest 2017-01-12 13:23:13 -08:00
query Fix errors found by PHPStan 2017-02-17 10:10:15 +00:00
response Accept and route VCS HTTP requests 2013-10-29 15:32:40 -07:00
search Add repositories to fulltext search index. 2017-03-28 07:58:22 +00:00
storage Detect unsynchronizable repositories on multiple cluster hosts 2017-04-24 10:43:05 -07:00
worker When closing tasks with "Fixes xxx", try to act more authentically as the acting user 2017-04-14 08:03:46 -07:00