Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Elasticsearch and Kibana to 7.13.2 #126

Merged
merged 6 commits into from
Nov 7, 2021
Merged

Conversation

alanorth
Copy link
Member

I tested a few minor versions from 7.7.x to 7.13.x and found that they all worked without issues. Harvesting, plugins, filters, layout, shared links, and reports all work as expected. The limiting factor here may be @nestjs/elasticsearch, which lists explicit support for Elasticsearch version 7.13.0 in their 8.0.0 release.

In addition to increased performance, security and bug fixes, and new features, these upgrades bring some massive infrastructure benefits under the hood:

  • Java version 13 → 16 in the Elasticsearch container
  • Base image CentOS 7 → 8 in the Elasticsearch container
  • Dozens of dependency updates in npm packages

This pays off a few years of technical debt and gets our stack running on modern software. \o/

Note: we need to start looking at deprecation notices in the Elasticsearch logs because there may be some breaking changes coming.

Use @nestjs/elasticsearch 8.0.0. There are a metric ton of updates
to dependencies and the minimum version of Elasticsearch is 7.4.0.
Note that the version of this package isn't necessarily related to
the version of Elasticsearch.

See: https://github.com/nestjs/elasticsearch/releases/tag/8.0.0
@alanorth alanorth added infrastructure Related to server or deployment improvement labels Oct 18, 2021
@alanorth
Copy link
Member Author

alanorth commented Nov 7, 2021

I've done another test with a snapshot of the Elasticsearch volume and backend/data directory from the current production instance and it works perfectly.

@alanorth alanorth merged commit b4d014d into master Nov 7, 2021
@alanorth alanorth deleted the elasticsearch-upgrade branch November 7, 2021 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement infrastructure Related to server or deployment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant