1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-04 20:52:43 +01:00
phorge-phorge/src/infrastructure/cluster
epriestley ac35246d0d Never sever non-cluster database; write more read-only documentation
Summary:
Ref T4571. Write more of the missing documentation sections and clarify a few things.

Since the "replicating master" check needs a special permission, imposes a performance penalty, is probably very difficult to misconfigure, and likely not a big deal anyway, just drop the idea of trying to automatically detect + prevent it. We still show if it's an issue on the status page, provided we have permission to check.

When you don't have any cluster databases configured, never stop trying to connect to the default master database. We might want to do this eventually as load reduction, but just don't muddy the waters too much for now while things stabilize.

Test Plan:
  - Tested functionality in cluster, non-cluster, and degraded-cluster modes.
  - Used status console to monitor a health check cycle.
  - Read docs.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T4571

Differential Revision: https://secure.phabricator.com/D15679
2016-04-11 08:44:11 -07:00
..
PhabricatorClusterDatabasesConfigOptionType.php Lay cluster.databases configuration groundwork for database clustering 2016-04-09 13:41:16 -07:00
PhabricatorClusterException.php When no master database is configured, automatically degrade to read-only mode 2016-04-10 12:19:55 -07:00
PhabricatorClusterExceptionHandler.php Automatically degrade to read-only mode when unable to connect to the master 2016-04-10 12:20:13 -07:00
PhabricatorClusterImpossibleWriteException.php Automatically degrade to read-only mode when unable to connect to the master 2016-04-10 12:20:13 -07:00
PhabricatorClusterImproperWriteException.php When no master database is configured, automatically degrade to read-only mode 2016-04-10 12:19:55 -07:00
PhabricatorClusterStrandedException.php Automatically degrade to read-only mode when unable to connect to the master 2016-04-10 12:20:13 -07:00
PhabricatorDatabaseHealthRecord.php Never sever non-cluster database; write more read-only documentation 2016-04-11 08:44:11 -07:00
PhabricatorDatabaseRef.php Never sever non-cluster database; write more read-only documentation 2016-04-11 08:44:11 -07:00