1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 09:12:41 +01:00
phorge-phorge/src/infrastructure/cluster
epriestley 01040e4573 Correctly disinguish between "0 seconds behind master" and "not replicating"
Summary: Fixes T11159. We get two different values here (`NULL` and `0`) with different meanings.

Test Plan:
  - Ran `STOP SLAVE;`.
  - Saw this:

{F1710181}

  - Ran `START SLAVE;`.
  - Back to normal.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11159

Differential Revision: https://secure.phabricator.com/D16225
2016-07-03 18:14:07 -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 Correctly disinguish between "0 seconds behind master" and "not replicating" 2016-07-03 18:14:07 -07:00