-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Allow patch level mismatch between Kibana and Elasticsearch #8976
Conversation
@@ -30,9 +30,9 @@ _Note: The version numbers below are only examples, meant to illustrate the rela | |||
| ------------------------- | -------------------------- |------------------- | ------- | | |||
| Versions are the same. | 5.1.2 | 5.1.2 | 💚 OK | | |||
| ES patch number is newer. | 5.1.__2__ | 5.1.__5__ | ⚠️ Logged warning | | |||
| ES patch number is older. | 5.1.__2__ | 5.1.__0__ | ⚠️ Logged warning | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should keep this placement in the original order. I think people will be scanning for conditions and then looking for outcomes, instead of the other way around. In the original order, there's a repeating pattern to aid scanning.
|
||
it('when majors and minors are equal, but ES patch is less than Kibana patch', () => { | ||
expect(isEsCompatibleWithKibana('1.1.0', '1.1.1')).to.be(false); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we just change this assertion to be true
and move it to the 'returns true' describe block?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, definitely. Good catch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Kibana should be able to run against Elasticsearch nodes that are at the same minor version regardless of whether they are at the same patch version. In the event that their patch versions differ, we render a warning.
e2758cb
to
79ea67f
Compare
Tested this locally by faking different versions of Kibana. Everything works as expected and the tests pass. LGTM! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Backports PR #8976 **Commit 1:** Allow patch level mismatch between Kibana and Elasticsearch Kibana should be able to run against Elasticsearch nodes that are at the same minor version regardless of whether they are at the same patch version. In the event that their patch versions differ, we render a warning. * Original sha: 79ea67f * Authored by Court Ewing <[email protected]> on 2016-11-04T21:28:46Z
Backports PR #8976 **Commit 1:** Allow patch level mismatch between Kibana and Elasticsearch Kibana should be able to run against Elasticsearch nodes that are at the same minor version regardless of whether they are at the same patch version. In the event that their patch versions differ, we render a warning. * Original sha: 79ea67f * Authored by Court Ewing <[email protected]> on 2016-11-04T21:28:46Z
Backports PR #8976 **Commit 1:** Allow patch level mismatch between Kibana and Elasticsearch Kibana should be able to run against Elasticsearch nodes that are at the same minor version regardless of whether they are at the same patch version. In the event that their patch versions differ, we render a warning. * Original sha: 79ea67f * Authored by Court Ewing <[email protected]> on 2016-11-04T21:28:46Z
Backports PR #8976 **Commit 1:** Allow patch level mismatch between Kibana and Elasticsearch Kibana should be able to run against Elasticsearch nodes that are at the same minor version regardless of whether they are at the same patch version. In the event that their patch versions differ, we render a warning. * Original sha: 79ea67f * Authored by Court Ewing <[email protected]> on 2016-11-04T21:28:46Z
…8976) Kibana should be able to run against Elasticsearch nodes that are at the same minor version regardless of whether they are at the same patch version. In the event that their patch versions differ, we render a warning.
…8980) Backports PR elastic#8976 **Commit 1:** Allow patch level mismatch between Kibana and Elasticsearch Kibana should be able to run against Elasticsearch nodes that are at the same minor version regardless of whether they are at the same patch version. In the event that their patch versions differ, we render a warning. * Original sha: 79ea67f * Authored by Court Ewing <[email protected]> on 2016-11-04T21:28:46Z Former-commit-id: 838b16e
Kibana should be able to run against Elasticsearch nodes that are at the
same minor version regardless of whether they are at the same patch
version. In the event that their patch versions differ, we render a
warning.
Fixes #8515