Difference between revisions of "Elasticsearch"

From Freephile Wiki
Jump to navigation Jump to search
(Adds dependency version table)
(Adds info about reindexing and restarting the cluster)
Line 48: Line 48:
 
|+ Version Dependencies
 
|+ Version Dependencies
 
|-
 
|-
! MediaWiki !! ElasticSearch !! Elastica !! CirrusSearch
+
! MediaWiki !! ElasticSearch !! Elastica !! CirrusSearch !! Cluster Restart? !! Reindex?
 
|-
 
|-
| REL1_27 || 1.x || REL1_27 || REL1_27
+
| REL1_27 || 1.x || REL1_27 || REL1_27 || n/a || n/a
 
|-
 
|-
| REL1_28 || 2.x || REL1_28 || REL1_28
+
| REL1_28 || 2.x || REL1_28 || REL1_28 || restart || yes <ref>For more information about upgrading from 1.x to 2.4, see [https://www.elastic.co/guide/en/elasticsearch/reference/2.4/setup-upgrade.html Upgrading Elasticsearch] in the Elasticsearch 2.4 Reference.</ref>
 
|-
 
|-
| REL1_29 || 5.3+ || REL1_29 || REL1_29
+
| REL1_29 || 5.3+ || REL1_29 || REL1_29 || restart || yes <ref>For more information about upgrading from 2.4 to 5.6, see [https://www.elastic.co/guide/en/elasticsearch/reference/5.6/setup-upgrade.html Upgrading Elasticsearch] in the Elasticsearch 5.6 Reference.</ref>
 +
|-
 +
| REL1_30 || 6.x || REL1_30 || REL1_30 || no <ref>Elasticsearch 6.x support rolling upgrades from Elasticsearch 5.6 Upgrading from earlier versions requires a full cluster restart. See https://www.elastic.co/guide/en/elasticsearch/reference/6.0/restart-upgrade.html</ref> || Depends <ref>Elasticsearch can read indices created in the '''previous major version'''. Older indices must be reindexed or deleted.  Elasticsearch will fail to start if incompatible indices are present.</ref>
 +
 
 
|}
 
|}
  
With version 6.0 of ElasticSearch being released, we should immediately upgrade MediaWiki to REL1_29 which is compatible with the new ElasticSearch.
+
With version 6.0 of ElasticSearch already released, we should immediately upgrade MediaWiki to REL1_29 which is compatible with ElasticSearch 6.x. In the table above es6.x is listed as compatible with mwREL1_30, but in reality we can use es6.x starting in mwREL1_29.
  
 
Elastic Co. provides an [https://github.com/elastic/ansible-elasticsearch/tree/master ansible role to manage your installation] (including a [https://github.com/elastic/ansible-elasticsearch/tree/2.x 2.x branch] for older setups).  Their [https://www.elastic.co/guide/en/elasticsearch/reference/6.0/setup-upgrade.html guide to upgrading] covers the nitty gritty.
 
Elastic Co. provides an [https://github.com/elastic/ansible-elasticsearch/tree/master ansible role to manage your installation] (including a [https://github.com/elastic/ansible-elasticsearch/tree/2.x 2.x branch] for older setups).  Their [https://www.elastic.co/guide/en/elasticsearch/reference/6.0/setup-upgrade.html guide to upgrading] covers the nitty gritty.

Revision as of 11:29, 29 November 2017