Page MenuHomePhabricator

D18440.diff
No OneTemporary

D18440.diff

diff --git a/src/applications/config/check/PhabricatorElasticsearchSetupCheck.php b/src/applications/config/check/PhabricatorElasticsearchSetupCheck.php
--- a/src/applications/config/check/PhabricatorElasticsearchSetupCheck.php
+++ b/src/applications/config/check/PhabricatorElasticsearchSetupCheck.php
@@ -7,6 +7,12 @@
}
protected function executeChecks() {
+ // TODO: Avoid fataling if we don't have a master database configured
+ // but have the MySQL search index configured. See T12965.
+ if (PhabricatorEnv::isReadOnly()) {
+ return;
+ }
+
$services = PhabricatorSearchService::getAllServices();
foreach ($services as $service) {

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 15, 12:02 PM (3 w, 13 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7447857
Default Alt Text
D18440.diff (674 B)

Event Timeline