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
Unknown Object (File)
Tue, Jan 21, 3:23 PM
Unknown Object (File)
Tue, Dec 31, 8:22 PM
Unknown Object (File)
Dec 22 2024, 12:17 AM
Unknown Object (File)
Dec 19 2024, 12:50 AM
Unknown Object (File)
Dec 14 2024, 7:57 PM
Unknown Object (File)
Dec 5 2024, 12:36 AM
Unknown Object (File)
Nov 22 2024, 11:13 PM
Unknown Object (File)
Oct 19 2024, 7:01 AM
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