Skip to content

Conversation

@ywelsch
Copy link
Contributor

@ywelsch ywelsch commented Aug 15, 2017

Due to the weird way of structuring the serialization code in AcknowledgedRequest, many request types forgot to properly serialize the request timeout, for example "index deletion", "index rollover", "index shrink", "putting pipeline", and other requests. This means that if those requests were not directly sent to the master node, the acknowledgement timeout information would be lost (and the default used instead).
Some requests also don't properly expose the timeout mechanism in the REST layer, such as put / delete stored script. This PR fixes all that.

This is the 5.6 backport of #26189

Due to the weird way of structuring the serialization code, many request types forgot to properly
serialize the request timeout, for example index deletion or index rollover / shrink request, putting
pipeline request, ...
@ywelsch ywelsch added :Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. >bug v5.6.0 labels Aug 15, 2017
Copy link
Contributor

@s1monw s1monw left a comment

Choose a reason for hiding this comment

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

LGTM

@ywelsch ywelsch merged commit 4663098 into elastic:5.6 Aug 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug :Distributed Indexing/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. v5.6.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants