-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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
can not write type [class org.elasticsearch.Version] #80561
Comments
I took a look at the serialization of FieldSortBuilder. I think the issue is related to the below usage. We can't use an Elasticsearch version as a missing value in a sort spec. @benwtrent Can you take a look at this issue please? Thank you! Lines 1273 to 1275 in bcfbf00
|
Pinging @elastic/ml-core (Team:ML) |
@dnhatn that is almost 100% the cause. Confirming with a test, will have a fix ASAP |
When handling the missing field in sort builder, Version shouldn't be added directly, instead a string representation of the version concerned. closes: #80561
…80596) When handling the missing field in sort builder, Version shouldn't be added directly, instead a string representation of the version concerned. closes: elastic#80561
…80596) When handling the missing field in sort builder, Version shouldn't be added directly, instead a string representation of the version concerned. closes: elastic#80561
@LeeDr, Remind me to get you 🍻 next time we get together :) |
Elasticsearch version (
bin/elasticsearch --version
): 7.16.0 BC3Plugins installed: []
JVM version (
java -version
):OS version (
uname -a
if on a Unix-like system): Cloud GCPDescription of the problem including expected versus actual behavior: a call to
GET /_migration/deprecations
gives an error response;Steps to reproduce:
Much of this was done by the Cloud infrastructure so I can only say the steps I performed
_tier_preference
(1 of the same for each of 16 indices). I updated 1 ilm index and the count of critical deprecations went down from 16 to 15. I didn't do anything with the.ml-anomalies-shared
index.GET /_migration/deprecations
. See the error.Provide logs (if relevant):
The text was updated successfully, but these errors were encountered: