Page MenuHomePhabricator

Upgrade elasticsearch to 2.4.0
Closed, DeclinedPublic

Description

Elasticsearch 2.4.0 has been released. We have a full cluster restart coming up to upgrade some elasticsearch plugins, we should take this opportunity to also upgrade elasticsearch itself. The upgrade includes:

  • elasticsearch deployment-prep
  • relforge
  • cirrus eqiad
  • cirrus codfw
  • logstash

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
debt triaged this task as Medium priority.Sep 8 2016, 10:20 PM
debt moved this task from needs triage to Up Next on the Discovery-Search board.

Mentioned in SAL [2016-09-12T12:03:48Z] <gehel> upgrading elasticsearch to 2.4.0 on deployment-elastic0? - T145058

Note: upgrade to elastic 2.4.0 require new packaging of elasticsearch plugins. See T145199.

Mentioned in SAL [2016-09-12T12:50:23Z] <gehel> rolling back upgrading elasticsearch to 2.4.0 on deployment-elastic05 - T145058

2.4.0 upgrade generate error when trying to process our existing mappings:

java.lang.IllegalArgumentException: Cannot set position_increment_gap on field [all_near_match] without positions enabled

This can be traced to a fix merged in v2.4.0.

Elasticsearch 2.4.0 has a bug that prevents us from upgrading. We will analyze the next release when available to see if we upgrade to it. In the meantime, nothing more is needed on 2.4.0, we will not upgrade to this version.