Skip to content

Conversation

@ywangd
Copy link
Member

@ywangd ywangd commented Oct 28, 2021

Backports the following commits to 8.0:

…79973)

In elastic#79412 we fixed a bug that request headers got dropped when the
request is sent across to a node of different version. The fix is to
restore all existing request headers during the threadContext rewriting.
However, there are headers that are always automatically preserved by
the ThreadContext infrastructure, e.g. x-opaque-id. This causes failures
when the code tries to re-add the x-opaque-id header since it already
exists. An example of this issue is for CCS where the remote cluster is
often on a different version compared to the local cluster.

Resolves: elastic#79412
@ywangd ywangd added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport labels Oct 28, 2021
@ywangd
Copy link
Member Author

ywangd commented Oct 28, 2021

Failure is unrelated but reproducible locally. I raised #79986

@ywangd
Copy link
Member Author

ywangd commented Oct 28, 2021

@elasticsearchmachine run elasticsearch-ci/part-1

@ywangd
Copy link
Member Author

ywangd commented Oct 28, 2021

@elasticsearchmachine update branch

@ywangd
Copy link
Member Author

ywangd commented Oct 28, 2021

@elasticmachine update branch

@elasticsearchmachine elasticsearchmachine merged commit fab52cc into elastic:8.0 Oct 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v8.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants