-
Notifications
You must be signed in to change notification settings - Fork 1.3k
DATAES-585 - Upgraded to Elasticsearch 7.1.0. #284
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
Conversation
|
Thank you for the contribution, Simon. At the moment we are more focused on the master (3.2) branch, more intensive work with regards to ES7 in the 4.x branch will come after the 3.2 release which is part of Spring Data Moore. The branch 4.x currently lags behind and needs to be updated to contain the actual changes from master. This I think should be done before merging your changes. I just had a short look at your changes, what I noticed: You removed the @mp911de, @christophstrobl can you give more information how work on the 4.x branch will be going on? |
Removed old Client Implementations, switched to RestHighLevelClient for Tests. Removed types from Annotations and Implementation.
|
We will drop the We should retain |
|
@raynigon Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
|
@raynigon Thank you for signing the Contributor License Agreement! |
|
When there will be ES 7.1 support? |
|
as Mark wrote, version 3.2 will be released with Spring Data Moore in August, from then on, the main work on master will be on ES 7 |
|
We're facing a change in release dates as Spring Framework 5.2 has moved its GA date to September 4. I'm going to discuss an ES 7.x upgrade with Spring Boot and Spring Data teams. |
|
But I think we shouldn't move the 3.2.x branch to ES 7, that would leave users running ES 6 with 3.1. (which uses ES 6.2.2, and 6.5/6.7 had breaking changes) |
|
The alternative is to leave dependencies as they are and switch with Spring Data ES 4.x directly to ES 8. Elasticsearch is moving way faster with their releases than Spring Data is able to catch up. |
|
We definitely need to support 6.6+ as AWS (and other providers probably as well) do not yet offer ES 7 and I think that the number of people running applications against these cloud-provider ES clusters is growing. |
|
Since ES introduced free support for security in 6.8+ and 7.1+ (see https://www.elastic.co/blog/security-for-elasticsearch-is-now-free), this is important to support those versions asap otherwise 'clients' will be blocked to use those functionalities with SDE. |
|
good hint, thanks you; when supporting 7 after the release of Moore this should go to 7.2 (the latest version now). |
|
We could upgrade to 6.8.x before shipping Moore RC2 next week. It’s somewhat late but having security controls in place makes the upgrade quite valueable. |
|
I created DATAES-606, I do this tomorrow or latest on thursday. |
|
Hi @sothawo Your comment above mentioning that 3.1.x won't work with ES 6.5: Does that mean ES 6.5+ is completely unusable with 3.1.x, and users of ES 6.5+ will need to wait for 3.2.x, or does it mean that a known set of features don't work? If it's the former, is there an estimated or targeted timeline for a 3.2.x release? Thanks for your awesome work on this! 👍 |
|
@Chris-Almond, yes SDE 3.1.x is built against the client libs of ES 6.2.2 which will not work with a 6.5 cluster. And using 3.1 with explicitly updating the client libs to 6.5 doesn't work either, because there were breaking changes in ES For example for some calls the return type was changed from concrete subtype to the abstract supertype. For the compiler, this is now problem, as there the return type does not belong to the method signature. But for the run time this is different, and then the methods are not found in the classfile. And some more things like that. Spring Data Moore.RC2 (which for SDE is the 3.2.x) is planned for next week, GA is planned as far as I know for the beginning of september |
|
FWIW, our wiki contains the release schedule. |
|
Thank you for the detailed explanation and wiki link. Very excited for the coming Moore GA (and RC)! |
|
7.2什么时候支持?有7.2相关的教程了嘛 |
|
Hi all, just wanted to add our interest to support Elastic search 7+ for the same reason as #284 (comment), with current 3.2.0.M1 we cannot connect to Elasticsearch 7.0.1 using SSL and user authentication. |
|
@sothawo Did you close this PR by mistake? This target 4.x branch (now master)... |
|
We have created a 4.0.x branch so we can go on working on the changes we want to implement even before 3.2.0.GA is out and we continue to work on master; I branched 4.0.x from the 3.2.0.RC2 master, and then rebased and merged the old 4.x onto 4.0.x. So the changes from 4.x are contained in the 4.0.x, therefore I closed 4.x. So this PR was kind of unintentionally closed with the branch. About rebasing this PR to 4.0.x: I am currently checking the changes needed for 4.0.x to use Elasticsearch 7.3 and found, that we for the time being, we will merely deprecate the This PR removes quite too much stuff and would introduce more breaking changes for the user than we intend to, so we would have either needed to rework this or drop it and create a new change - which we think would have been a better solution. I think that at the end of the week we will have a 4.0.x branch that can be used with ES 7.3. So I'm sorry that this PR was closed without further explanation, this wasn't my intent. |
|
Thanks for the explanation, but since they are lot of people that claim for ES 7.x support I found it was better to add some comments to this PR.... |
|
Sure, you're totally right. It was never my intent to close this without explanation. And we are currently working on getting 4.0.x to use ES 7 as soon as possible. |
|
branch 4.0.x now is updated to use Elasticsearch 7.3 |
|
Excuse me, When 4.0.x will be released? @sothawo |
|
GA around Q2/2020, milestones likely later this year. |
|
Hi, can we use Elasticsearch 7.X with Spring Data now? I can only see spring-data-elasticsearch 3.X in RELEASE. |
|
4.x is RC still |
|
@sothawo Thanks for updating. |
|
@sothawo Looks like release is pushed from 6th May to 12th May. Hopefully, on 12th it will be released. Please let me know! PS: My code works with snapshot release but can't go in prod with it! |
Removed old Client Implementations, switched to RestHighLevelClient for Tests. Removed types from Annotations and Implementation.