1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 03:12:41 +01:00
phorge-phorge/src/applications/system
epriestley e0a8cac703 When no master database is configured, automatically degrade to read-only mode
Summary: Ref T4571. If `cluster.databases` is configured but only has replicas, implicitly drop to read-only mode and send writes to a replica.

Test Plan:
  - Disabled the `master`, saw Phabricator automatically degrade into read-only mode against replicas.
  - (Also tested: explicit read-only mode, non-cluster mode, properly configured cluster mode).

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T4571

Differential Revision: https://secure.phabricator.com/D15672
2016-04-10 12:19:55 -07:00
..
action Extend from Phobject 2015-06-15 18:02:27 +10:00
application When Phabricator is in read-only mode, explain why 2016-04-10 12:19:18 -07:00
controller When no master database is configured, automatically degrade to read-only mode 2016-04-10 12:19:55 -07:00
engine Fully modularize DestructionEngine 2015-12-21 17:03:44 -08:00
exception Add semi-generic rate limiting infrastructure 2014-04-03 11:22:38 -07:00
garbagecollector Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00
interface T5409, allow bin/remove to permanently destroy credential and everything associated with it 2014-08-07 16:33:54 -07:00
management Various translation improvements 2015-11-03 07:02:46 +11:00
storage Fix visiblity of LiskDAO::getConfiguration() 2015-01-14 06:54:13 +11:00