Page MenuHomePhabricator

Fix a possible database ref fatal during MySQL setup checks if a host is unreachable
ClosedPublic

Authored by epriestley on Aug 17 2017, 6:35 PM.
Tags
None
Referenced Files
F19280405: D18442.id44309.diff
Tue, Dec 23, 3:08 AM
F19236707: D18442.diff
Sun, Dec 21, 7:26 PM
F19133035: D18442.id44308.diff
Dec 10 2025, 6:26 AM
F19080057: D18442.id44308.diff
Dec 1 2025, 11:55 PM
F18852299: D18442.id44309.diff
Oct 31 2025, 7:53 AM
F18811655: D18442.diff
Oct 20 2025, 4:09 AM
F18777339: D18442.diff
Oct 11 2025, 2:17 AM
F18775903: D18442.id.diff
Oct 10 2025, 8:36 PM
Subscribers
None

Details

Summary

Ref T12966. See that task for a description and reproduction steps.

If you put Phabricator in a master/replica configuration and then restart it, we may fatal here if the master is unreachable. Instead, we should survive setup checks.

Test Plan

Put Phabricator in a master/replica configuration, explicitly disabled the master by misconfiguring the port, restarted Phabricator. Before: fatal; after: login screen in read-only mode.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable