-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Move compression config to ConnectionProfile #35357
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
Conversation
|
Pinging @elastic/es-distributed |
|
I want to make sure (in particular) that everyone agrees with this:
This is because we do not really have a great to correlated incoming connections with settings based on cluster alias. Second, I wanted to make sure everyone agrees that Additionally, it feels like |
s1monw
left a comment
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.
change LGTM. I want to clarify one thing, if we set transport.tcp.compress to true we compress all traffic in the local cluster. yet if we set it to false on a specific remote cluster we would not compress traffic to that cluster, correct?
I agree with this, lets do this in a separate change. we should get rid of the tcp part in all the places IMO. |
|
@tbrooks8 Sharing the comment that I shared with you in another channel last night.
I agree. |
jasontedor
left a comment
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.
We will not compress requests to that cluster. If |
This is a follow up to elastic#35357. That commit failed to register the new cluster.remote.cluster_name.transport.compress setting with `ClusterSettings`. This commit fixes that.
This is a follow up to #35357. That commit failed to register the new cluster.remote.cluster_name.transport.compress setting with `ClusterSettings`. This commit fixes that.
This is a follow up to #35357. That commit failed to register the new cluster.remote.cluster_name.transport.compress setting with `ClusterSettings`. This commit fixes that.
This is related to #34483. It introduces a namespaced setting for
compression that allows users to configure compression on a per remote
cluster basis. The
transport.tcp.compressremains as a fallbacksetting. If
transport.tcp.compressis set to true, then all requestsand responses are compressed. If it is set to false, only requests to
clusters based on the
cluster.remote.cluster_name.transport.compresssetting are compressed. However, after this change regardless of any
local settings, responses will be compressed if the request that is
received was compressed.