Homec4science

Fix misleading error message when only cluster database masters are configured

Authored by epriestley <git@epriestley.com> on Aug 10 2016, 20:54.

Description

Fix misleading error message when only cluster database masters are configured

Summary:
Fixes T11446. We can raise the misleading error:

No valid databases are configured!

...when a valid master is configured but unreachable.

Instead, more carefully raise either "nothing is configured" or "nothing is reachable".

Test Plan: Configured only a master, artificially severed it, got "nothing is reachable" instead of "nothing is configured".

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11446

Differential Revision: https://secure.phabricator.com/D16386

Details

Committed
epriestley <git@epriestley.com>Aug 10 2016, 22:06
Pushed
aubortJan 31 2017, 17:16
Parents
rPHe8083ad63a32: Increase the storage size for commit summaries
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH3b45608c78f1: Fix misleading error message when only cluster database masters are configured (authored by epriestley <git@epriestley.com>).Aug 10 2016, 22:06