Page MenuHomePhabricator

Fix misleading error message when only cluster database masters are configured
ClosedPublic

Authored by epriestley on Aug 10 2016, 7:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Aug 29, 6:32 AM
Unknown Object (File)
Sat, Aug 17, 8:21 PM
Unknown Object (File)
Aug 9 2024, 10:03 AM
Unknown Object (File)
Jul 30 2024, 12:34 PM
Unknown Object (File)
Jul 28 2024, 9:23 AM
Unknown Object (File)
Jul 19 2024, 10:10 PM
Unknown Object (File)
Jul 17 2024, 8:47 AM
Unknown Object (File)
Jul 10 2024, 9:26 AM
Subscribers
None

Details

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".

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix misleading error message when only cluster database masters are configured.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Aug 10 2016, 7:54 PM
This revision was automatically updated to reflect the committed changes.