-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Bump elasticsearch client #9446
Conversation
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
@@ -26,7 +26,7 @@ window.__KBN__ = { | |||
vars: { | |||
kbnIndex: '.kibana', | |||
esShardTimeout: 1500, | |||
esApiVersion: '2.0', | |||
esApiVersion: 'master', |
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.
This is less than idea, but ultimately true for master. @epixa can you think of a way to help remind whoever branches to 5.1, 5.2, etc. that this needs to be updated?
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 was thinking about creating a top level versions file in the root of the project that we can use to track all specific versions like this, so bumping the Kibana version would all be done in the same file. That's separate from this PR, though.
Thoughts?
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.
maybe we should just store it in package.json?
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.
We have to hard-code the version there anyway
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.
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'm pretty sure npm still complains, but I'm down. Then we can have a versions file separate from package.json
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 - verified running an nginx proxy with basic auth.
Backports PR #9446 **Commit 1:** Bump elasticsearch client * Original sha: c007b55 * Authored by Jonathan Budzenski <[email protected]> on 2016-12-12T18:51:41Z **Commit 2:** Bump elasticsearch version in tests entry template to master * Original sha: 2419fe3 * Authored by Jonathan Budzenski <[email protected]> on 2016-12-12T19:13:27Z
Backports PR #9446 **Commit 1:** Bump elasticsearch client * Original sha: c007b55 * Authored by Jonathan Budzenski <[email protected]> on 2016-12-12T18:51:41Z **Commit 2:** Bump elasticsearch version in tests entry template to master * Original sha: 2419fe3 * Authored by Jonathan Budzenski <[email protected]> on 2016-12-12T19:13:27Z
Backports PR #9446 **Commit 1:** Bump elasticsearch client * Original sha: c007b55 * Authored by Jonathan Budzenski <[email protected]> on 2016-12-12T18:51:41Z **Commit 2:** Bump elasticsearch version in tests entry template to master * Original sha: 2419fe3 * Authored by Jonathan Budzenski <[email protected]> on 2016-12-12T19:13:27Z
Backports PR #9446 **Commit 1:** Bump elasticsearch client * Original sha: c007b55 * Authored by Jonathan Budzenski <[email protected]> on 2016-12-12T18:51:41Z **Commit 2:** Bump elasticsearch version in tests entry template to master * Original sha: 2419fe3 * Authored by Jonathan Budzenski <[email protected]> on 2016-12-12T19:13:27Z
Closes #9442
callWithRequest expects err.statusCode to be defined here. In certain cases this metadata is not returned by the client resulting in defaulted 500 errors. This is fixed by elastic/elasticsearch-js@f9d2569.