Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15427550
D18442.id44309.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
784 B
Referenced Files
None
Subscribers
None
D18442.id44309.diff
View Options
diff --git a/src/applications/config/check/PhabricatorMySQLSetupCheck.php b/src/applications/config/check/PhabricatorMySQLSetupCheck.php
--- a/src/applications/config/check/PhabricatorMySQLSetupCheck.php
+++ b/src/applications/config/check/PhabricatorMySQLSetupCheck.php
@@ -9,7 +9,13 @@
protected function executeChecks() {
$refs = PhabricatorDatabaseRef::getActiveDatabaseRefs();
foreach ($refs as $ref) {
- $this->executeRefChecks($ref);
+ try {
+ $this->executeRefChecks($ref);
+ } catch (AphrontConnectionQueryException $ex) {
+ // If we're unable to connect to a host, just skip the checks for it.
+ // This can happen if we're restarting during a cluster incident. See
+ // T12966 for discussion.
+ }
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 24, 2:52 PM (3 d, 8 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7223354
Default Alt Text
D18442.id44309.diff (784 B)
Attached To
Mode
D18442: Fix a possible database ref fatal during MySQL setup checks if a host is unreachable
Attached
Detach File
Event Timeline
Log In to Comment