Skip to content
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

Respond with same compression scheme received #76514

Merged
merged 2 commits into from
Aug 14, 2021

Conversation

Tim-Brooks
Copy link
Contributor

This is related to #73497. Currently, we only use the configured
transport.compression_scheme setting when compressing a request or a
response. Additionally, the cluster.remote.*.compression_scheme
setting is ignored. This commit fixes this behavior by respecting the
per-cluster setting. Additionally, it resolves confusion around inbound
and outbound connections by always responding with the same scheme that
was received. This allows remote connections to have different schemes
than local connections.

This is related to elastic#73497. Currently, we only use the configured
transport.compression_scheme setting when compressing a request or a
response. Additionally, the cluster.remote.*.compression_scheme
setting is ignored. This commit fixes this behavior by respecting the
per-cluster setting. Additionally, it resolves confusion around inbound
and outbound connections by always responding with the same scheme that
was received. This allows remote connections to have different schemes
than local connections.
@Tim-Brooks Tim-Brooks added :Distributed/Network Http and internode communication implementations backport v7.15.0 labels Aug 13, 2021
@elasticmachine elasticmachine added the Team:Distributed Meta label for distributed team label Aug 13, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@Tim-Brooks Tim-Brooks merged commit f52ca3c into elastic:7.x Aug 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Distributed/Network Http and internode communication implementations Team:Distributed Meta label for distributed team v7.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants