MaxSem has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/357952 )
Change subject: Temp hax to point GeoData at codfw DC
......................................................................
Temp hax to point GeoData at codfw DC
The eqiad elasticsearch cluster is currently running a mixed version
cluster, having both versions 5.1.2 and 5.3.2. While elasticsearch is
supposed to guarnatee that mixed clusters of the same major version will
work fine, it seems they made a mistake and there is an enum related to
geo search that was changed. This basically means requests from one
version to the other fail because the enum's get interpreted wrong.
This will fix itself as the cluster upgrade is completed. Pushing only
to wmf.4 (and already in wmf.2) so prevent errors as this sees 5 or 10k
uses per hour.
Change-Id: Ibe32c3f1a15e03583edbd42c1b53704b467ffe9b
---
M includes/Searcher.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/GeoData
refs/changes/52/357952/1
diff --git a/includes/Searcher.php b/includes/Searcher.php
index 852feb6..4220024 100644
--- a/includes/Searcher.php
+++ b/includes/Searcher.php
@@ -18,7 +18,7 @@
/** @var SearchConfig $config */
$config = ConfigFactory::getDefaultInstance()->makeConfig(
'CirrusSearch' );
/** @suppress PhanTypeMismatchArgument */
- $connection = new \CirrusSearch\Connection( $config );
+ $connection = new \CirrusSearch\Connection( $config, 'codfw' );
parent::__construct( $connection, $user, 0 );
}
--
To view, visit https://gerrit.wikimedia.org/r/357952
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibe32c3f1a15e03583edbd42c1b53704b467ffe9b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/GeoData
Gerrit-Branch: wmf/1.30.0-wmf.4
Gerrit-Owner: MaxSem <[email protected]>
Gerrit-Reviewer: EBernhardson <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits