The elk role sets up the logstash-* index template, with number_of_replicas set to 0 (template). The cirrussearchrole's command for building the search index is conditioned on the is-cirrussearch-forceindex-needed succeeding (presumably to ward off some race condition?), which is a wrapper around the cirrusNeedsToBeBuilt.php maintenance script, which just polls the ElasticSearch health check until everything is green. Since the logstash indexes have no replicas, they return yellow, causing the script to hang and eventually time out, and so fail to build the index.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
cirrusNeedsToBeBuilt.php: filter health check to Cirrus indices | mediawiki/extensions/CirrusSearch | master | +37 -1 |
Event Timeline
Comment Actions
Change 570768 had a related patch set uploaded (by Gergő Tisza; owner: Gergő Tisza):
[mediawiki/extensions/CirrusSearch@master] cirrusNeedsToBeBuilt.php: filter health check to Cirrus indices
Comment Actions
Change 570768 merged by jenkins-bot:
[mediawiki/extensions/CirrusSearch@master] cirrusNeedsToBeBuilt.php: filter health check to Cirrus indices