1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-22 19:49:02 +01:00
phorge-phorge/src
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
..
__tests__ Use PhutilClassMapQuery instead of PhutilSymbolLoader 2015-08-14 07:49:01 +10:00
aphront Update rate limiting for APCu and X-Forwarded-For 2017-04-21 20:39:14 -07:00
applications Detect unsynchronizable repositories on multiple cluster hosts 2017-04-24 10:43:05 -07:00
docs Update rate limiting for APCu and X-Forwarded-For 2017-04-21 20:39:14 -07:00
extensions Add src/extensions/ to Phabricator 2013-08-14 15:38:06 -07:00
infrastructure Add "%I" (instance name) to application log formats 2017-04-23 11:07:19 -07:00
view Attach Diffusion Pagers to their ObjectBoxView 2017-04-21 11:22:19 -07:00
__phutil_library_init__.php
__phutil_library_map__.php Remove all "Phabricator Bot" code 2017-04-21 12:48:35 -07:00