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

NETWORKING: Simplify Transport Compression Setting #34959

Closed
wants to merge 1 commit into from

Conversation

original-brownbear
Copy link
Member

@original-brownbear original-brownbear commented Oct 29, 2018

  • Individual setting should only be able to negate the global compress setting since org.elasticsearch.transport.TcpTransport#canCompress ensures that compression only ever happens if the global compression is enabled regardless of the TransportRequestOptions
  • Disables compression of segment files during recovery to bring code and comment in line with each other
    • Also experiments and user reports have shown a ~50% compression size saving but with an order of magnitude performance loss
  • Fixes Disable TCP compression when shipping Lucene segments during peer recovery #33844

* Individual setting should only be able to negate the global compress setting since `org.elasticsearch.transport.TcpTransport#canCompress` ensures that compression only ever happens if the global compression is enabled regardless of the `TransportRequestOptions`
* Disables compression of segment files during recovery to bring code and comment in line with each other
* Fixes elastic#33844
@original-brownbear original-brownbear added >enhancement :Distributed/Network Http and internode communication implementations :Distributed/Recovery Anything around constructing a new shard, either from a local or a remote source. v7.0.0 v6.6.0 labels Oct 29, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

@jasontedor
Copy link
Member

Relates #36399

@original-brownbear
Copy link
Member Author

I think I can just close here right? This was handled by @tbrooks8 meanwhile elsewhere?

@tomcallahan tomcallahan removed the :Distributed/Recovery Anything around constructing a new shard, either from a local or a remote source. label Dec 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed/Network Http and internode communication implementations >enhancement v6.6.0 v7.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants