1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-21 09:48:47 +02:00
phorge-phorge/src/applications/diffusion
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
..
application Merge "Audit" more completely into "Diffusion" 2017-01-11 16:28:42 -08:00
capability Simplify the implementation of PhabricatorPolicyCapability subclasses 2014-07-25 08:25:42 +10:00
conduit Fix errors found by PHPStan 2017-02-18 09:24:56 +00:00
config Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
controller Attach Diffusion Pagers to their ObjectBoxView 2017-04-21 11:22:19 -07:00
data Don't track "phabricator/" staging area tags 2016-06-16 11:22:02 -07:00
doorkeeper Partially modernize Doorkeeper/Asana bridge 2014-10-01 07:09:34 -07:00
edge Expose the commit/task/revision relationship edges to "edge.search" 2017-04-02 19:49:55 -07:00
editor Allow the PullLocal daemon to actually hibernate 2017-04-06 15:41:19 -07:00
engine Show yellow "draft" bubble in Audit 2017-01-16 10:28:59 -08:00
engineextension Cache Almanac URIs for repositories 2016-12-06 09:14:45 -08:00
exception Make repository daemon locks more granular and forgiving 2016-05-13 05:17:27 -07:00
garbagecollector Support ID-based repository URIs, and canonicalize repository URIs 2016-02-18 09:56:28 -08:00
gitlfs Rename "PhabricatorHash::digest()" to "weakDigest()" 2017-04-06 15:43:33 -07:00
herald Rename "needReviewerStatus()" into "needReviewers()" 2017-03-20 16:46:16 -07:00
management Fix errors found by PHPStan 2017-02-17 10:10:15 +00:00
panel Fixed typo 2016-12-19 17:56:27 -08:00
protocol Detect unsynchronizable repositories on multiple cluster hosts 2017-04-24 10:43:05 -07:00
query Make the Files "TTL" API more structured 2017-04-04 16:16:28 -07:00
relationships Convert all standard relationship-editing actions to modern Relationships code 2016-06-29 11:24:52 -07:00
remarkup When commits have a "rewritten" hint, try to show that in handles in other applications 2016-08-24 09:35:19 -07:00
request Modernize UI for "Compare" in Diffusion 2016-12-05 18:10:11 -08:00
response Implement a Git LFS server which supports no operations 2016-03-17 08:08:43 -07:00
ssh Improve error messages for running git clone against a Mercurial repository 2016-12-02 07:30:03 -08:00
symbol Extend from Phobject 2015-06-15 18:02:27 +10:00
typeahead Allow commits to be queried by repository using the tagged(...) typehaead function 2017-02-27 10:46:55 -08:00
view Improve diffusion readme layout 2017-04-21 11:23:26 -07:00
xaction Prevent users from taking "edit"-like actions via comment forms if they don't have edit permission 2017-03-02 16:56:57 -08:00
DiffusionLintSaveRunner.php Return Diffusion diffs through Files, not directly over Conduit 2016-08-27 09:11:03 -07:00