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

Elasticsearch 7 will become EOL #9405

Open
tommydeboer opened this issue Jan 20, 2023 · 5 comments
Open

Elasticsearch 7 will become EOL #9405

tommydeboer opened this issue Jan 20, 2023 · 5 comments

Comments

@tommydeboer
Copy link
Collaborator

Elasticsearch 17.7 (the version we are/should be using) is supported until 6 months after Elasticsearch 9.0 comes out.

After that we need to migrate to ES8. The ES Java REST client we use is deprecated, however it can be run in compatibility mode so we don't need to upgrade to the new Java API client yet. This requires a small code change, see this manual page. The RestHighLevelClient is created in org.molgenis.data.elasticsearch.client.ClientFactory and can be changed there to enable the compatibility mode.

Then follow the migragion guide

@jelmerveen
Copy link
Collaborator

jelmerveen commented Jan 23, 2023

Elastic search EOL estimate

Product Release Series End of Maintenance Term
Elasticsearch 8.x The later of 2024-08-10 or 6 months after the release date of 9.0 (TBD)

Elasticsearch all version support table

Elasticsearch Supported Until Subscription Start Date Is Before October 1, 2022 Supported Until Subscription Start Date Is On or After October 1, 2022 Maintained Until
7.13.x 2022-11-25 2023-02-10 7.14.0
7.14.x 2023-02-03 2023-02-10 7.15.0
7.15.x 2023-03-22 2023-02-10 7.16.0
7.16.x 2023-06-07 2023-02-10 7.17.0
7.17.x 9.0.0 9.0.0 9.0.0

source: elastic search

@jelmerveen
Copy link
Collaborator

So according to above table we should migrate directly to 9? Else we would be doing it again in 6 months, worst case scenario.

@tommydeboer
Copy link
Collaborator Author

@jelmerveen 7 will be supported for 6 months after elasticsearch 9 is released. After that 8 will be supported much longer. Migrating directly to 9 will probably require lots of code changes because the old java client is deprecated.

@jelmerveen
Copy link
Collaborator

jelmerveen commented Jan 23, 2023

But as I read it, 8 will not even make it until 2024 perhaps. As you can read in the top table:

Elasticsearch 8.x The later of 2024-08-10 or 6 months after the release date of 9.0 (TBD)

@tommydeboer
Copy link
Collaborator Author

Ah yes you are right! Depending on when 9 is released it is possible that migrating to 9 at once is much more efficiënt. This will require a much more drastic refactoring because I don't think the current java API is still supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants