Skip to content

Conversation

@kobelb
Copy link
Contributor

@kobelb kobelb commented Nov 29, 2018

The _msearch API in ES master is returning a 400/bad-request when specifying the timeout in the header without units. This PR moves this parameter to the search body.

At this moment, it's unknown how far this should be backported... it's possible that the parameter that we're specifying in the header on 6.x (and potentially earlier) is simply being ignored.

"Release Note: Resolving issue with the _msearch timeouts being specified incorrectly, which was causing them to be ignored."

@kobelb kobelb changed the title Specifying the timeout for the msearch in the body Specifying the timeout for the _msearch in the body Nov 29, 2018
@kobelb kobelb requested review from cjcenizal and spalger November 29, 2018 23:19
@kobelb
Copy link
Contributor Author

kobelb commented Nov 29, 2018

@jasontedor when you determine whether or not this was supported, but deprecated in 6.x, would you mind letting us know so we know how far to backport this?

@elasticmachine
Copy link
Contributor

💔 Build Failed

Copy link
Contributor

@cjcenizal cjcenizal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, code review only.

@elasticmachine
Copy link
Contributor

💔 Build Failed

Copy link
Contributor

@spalger spalger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@kobelb kobelb merged commit 62e9a38 into elastic:master Nov 30, 2018
@jasontedor
Copy link
Member

when you determine whether or not this was supported, but deprecated in 6.x, would you mind letting us know so we know how far to backport this?

This use of timeout in the metadata line was never supported, we leniently accepted it but it did not do anything. We have deprecated this leniency in 6.x (6.6.0) with elastic/elasticsearch#36014 and as you know have removed the leniency in master (7.0.0).

kobelb added a commit to kobelb/kibana that referenced this pull request Dec 3, 2018
* Specifying the timeout for the msearch in the body

* Revert "Specifying the timeout for the msearch in the body"

This reverts commit 7b07bfa.

* Fixing the courier and the index pattern execute script timeouts
kobelb added a commit to kobelb/kibana that referenced this pull request Dec 3, 2018
* Specifying the timeout for the msearch in the body

* Revert "Specifying the timeout for the msearch in the body"

This reverts commit 7b07bfa.

* Fixing the courier and the index pattern execute script timeouts
@elasticmachine
Copy link
Contributor

💔 Build Failed

kobelb added a commit that referenced this pull request Dec 3, 2018
* Specifying the timeout for the msearch in the body

* Revert "Specifying the timeout for the msearch in the body"

This reverts commit 7b07bfa.

* Fixing the courier and the index pattern execute script timeouts
kobelb added a commit that referenced this pull request Dec 3, 2018
* Specifying the timeout for the msearch in the body

* Revert "Specifying the timeout for the msearch in the body"

This reverts commit 7b07bfa.

* Fixing the courier and the index pattern execute script timeouts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants