openaustralia / theyvoteforyou

Making parliamentary voting information accessible, understandable, and easy to use so that you can hold your elected representatives to account.
https://theyvoteforyou.org.au/
Other
138 stars 30 forks source link

Move elasticsearch over to using the same cluster as PlanningAlerts #1328

Closed mlandauer closed 2 years ago

mlandauer commented 2 years ago

This will mean less to maintain and the Elasticsearch cluster that we're using for PlanningAlerts has redundancy and is donated to us by elastic.co.

We're currently using version 2.4.6 in production locally

The cluster is using 6.8.23

We're currently using searchkick 1.5.1. We will probably need to upgrade the gem to support elasticsearch 6.8.23.

mlandauer commented 2 years ago

The latest version of searchkick supports elasticsearch 6. See https://github.com/ankane/searchkick

mlandauer commented 2 years ago

So, a rough plan for a not horrible migration with downtime is:

mlandauer commented 2 years ago

That's done now. The main code changes that made this possible: