Homec4science

Never sever non-cluster database; write more read-only documentation

Authored by epriestley <git@epriestley.com> on Apr 11 2016, 14:26.

Description

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

Details

Committed
epriestley <git@epriestley.com>Apr 11 2016, 17:44
Pushed
aubortJan 31 2017, 17:16
Parents
rPHebff07d01983: Automatically sever databases after prolonged unreachability
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHac35246d0d54: Never sever non-cluster database; write more read-only documentation (authored by epriestley <git@epriestley.com>).Apr 11 2016, 17:44