-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Nodes Info API does not include version qualifier for version #36859
Comments
Pinging @elastic/es-core-features |
Pinging @elastic/es-core-infra |
I added the team-discuss label. When we read and write |
We discussed this in this week's core/infra sync and decided to add a new field to the node stats API that provides the version including the qualifier as Kibana might want to show the full version to the user. Note that we do not provide any compatibility across pre-release versions (i.e. there are no guarantees that 7.0.0-alpha2 is compatible with 7.0.0-beta1) and it's only the We did not settle on a name though for this new field and I think we should align {
"version" : {
"number" : "7.0.0-alpha2",
"build_flavor" : "default",
"build_type" : "tar",
"build_hash" : "a30e8c2",
"build_date" : "2018-12-17T12:33:32.311168Z",
"build_snapshot" : false,
"lucene_version" : "8.0.0",
"minimum_wire_compatibility_version" : "6.6.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
}
}
{
"nodes" : {
"7mvHxWJDRHO2OSR7daP-FA" : {
"version" : "7.0.0",
"build_flavor" : "default",
"build_type" : "tar",
"build_hash" : "a30e8c2"
}
}
} |
@rjernst do we have any plans to change the behavior of this endpoint? |
Pinging @elastic/es-core-infra (Team:Core/Infra) |
Pinging @elastic/es-delivery (Team:Delivery) |
We don't have any plans to make this change. It would be quite invasive on existing callers of the node info API. If we were to add it, it would be in a new field, but as noted earlier, we intentionally omit the qualifier since it should not be used for compatibility comparisons. |
Sounds like this is not planned to change then so I'm closing this issue. |
Elasticsearch version (
bin/elasticsearch --version
): 7.0.0-alpha2Description of the problem including expected versus actual behavior:
Currently, the Nodes Info API excludes the qualifier which was used to build the release.
Related to the changes in #35172 cc: @atorok
Steps to reproduce:
-Dbuild.version_qualifier=foo
Provide logs (if relevant):
Response I am seeing:
Currently, this is causing an ES node mismatch warning in the Kibana logs when running Kibana 7.0.0-alpha2
log [18:07:06.989] [warning] You're running Kibana 7.0.0-alpha2 with some different versions of Elasticsearch. Update Kibana or Elasticsearch to the same version to prevent compatibility issues: v7.0.0 @ 127.0.0.1:9200 (127.0.0.1)
The text was updated successfully, but these errors were encountered: