-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Update transport docs and settings for changes #36786
Update transport docs and settings for changes #36786
Conversation
Pinging @elastic/es-distributed |
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
@@ -161,6 +161,14 @@ PUT _cluster/settings | |||
are sent according to the global `transport.ping_schedule` setting, which | |||
defaults to ``-1` meaning that pings are not sent. | |||
|
|||
`cluster.remote.${cluster_alias}.transport.compress`:: | |||
|
|||
Per cluster boolean setting that allows compression to be configured for |
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.
Per cluster boolean setting that allows compression to be configured for | |
Per cluster boolean setting that enables you to configure compression for |
`cluster.remote.${cluster_alias}.transport.compress`:: | ||
|
||
Per cluster boolean setting that allows compression to be configured for | ||
requests to a specific remote cluster. This setting only impacts requests |
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.
requests to a specific remote cluster. This setting only impacts requests | |
requests to a specific remote cluster. This setting impacts only requests |
|
||
Per cluster boolean setting that allows compression to be configured for | ||
requests to a specific remote cluster. This setting only impacts requests | ||
sent to the remote cluster. Elasticsearch will compress a response if the |
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.
sent to the remote cluster. Elasticsearch will compress a response if the | |
sent to the remote cluster. If the |
Per cluster boolean setting that allows compression to be configured for | ||
requests to a specific remote cluster. This setting only impacts requests | ||
sent to the remote cluster. Elasticsearch will compress a response if the | ||
inbound request was compressed. If unset, the global `transport.compress` |
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.
inbound request was compressed. If unset, the global `transport.compress` | |
inbound request is compressed, Elasticsearch compresses the response. If unset, the global `transport.compress` |
|
||
The TCP transport is an implementation of the transport module using | ||
TCP. It allows for the following settings: | ||
The internal transport communicates over TCP. It allows for the following |
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.
The internal transport communicates over TCP. It allows for the following | |
The internal transport communicates over TCP. You can configure it with the following |
I marked this for 6.7 too. The new settings exist starting 6.6. So it seems reasonable to update the doc for the new settings in 6.7. |
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.
Docs LGTM. Thanks for making those changes!
Commit elastic#36786 updated docs and strings to reference transport.port instead of transport.tcp.port. However, this breaks backwards compatibility tests as the tests rely on string configurations and transport.port does not exist prior to 6.6. This commit reverts the places were we reference transport.tcp.port for tests. This work will need to be reintroduced in a backwards compatible way.
Commit elastic#36786 updated docs and strings to reference transport.port instead of transport.tcp.port. However, this breaks backwards compatibility tests as the tests rely on string configurations and transport.port does not exist prior to 6.6. This commit reverts the places were we reference transport.tcp.port for tests. This work will need to be reintroduced in a backwards compatible way.
This is related to elastic#36652. In 7.0 we plan to deprecate a number of settings that make reference to the concept of a tcp transport. We mostly just have a single transport type now (based on tcp). Settings should only reference tcp if they are referring to socket options. This commit updates the settings in the docs. And removes string usages of the old settings. Additionally it adds a missing remote compress setting to the docs.
Commit elastic#36786 updated docs and strings to reference transport.port instead of transport.tcp.port. However, this breaks backwards compatibility tests as the tests rely on string configurations and transport.port does not exist prior to 6.6. This commit reverts the places were we reference transport.tcp.port for tests. This work will need to be reintroduced in a backwards compatible way.
This is related to #36652. In 7.0 we plan to deprecate a number of
settings that make reference to the concept of a
tcp transport
. Wemostly just have a single transport type now (based on tcp). Settings
should only reference tcp if they are referring to socket options. This
commit updates the settings in the docs. And removes string usages of
the old settings. Additionally it adds a missing remote compress setting
to the docs.