Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15382362
D18440.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
674 B
Referenced Files
None
Subscribers
None
D18440.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D18440: Don't fatal in ElasticSearch setup check if no "master" database is configured
Attached
Detach File
Event Timeline
Log In to Comment