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

Upgrade to Netty 4.1.43 #48484

Merged
merged 1 commit into from
Oct 25, 2019
Merged

Conversation

Tim-Brooks
Copy link
Contributor

With this update we can remove the mitigation in our custom allocator
which forces heap buffer allocations.

With this update we can remove the mitigation in our custom allocator
which forces heap buffer allocations.
@elasticmachine
Copy link
Collaborator

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

Copy link
Member

@original-brownbear original-brownbear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Tim-Brooks Tim-Brooks merged commit d084b93 into elastic:master Oct 25, 2019
Tim-Brooks added a commit that referenced this pull request Oct 25, 2019
With this update we can remove the mitigation in our custom allocator
which forces heap buffer allocations.
Tim-Brooks added a commit to Tim-Brooks/elasticsearch that referenced this pull request Oct 26, 2019
With this update we can remove the mitigation in our custom allocator
which forces heap buffer allocations.
Tim-Brooks added a commit that referenced this pull request Oct 26, 2019
* Remove option to enable direct buffer pooling (#48310)

This commit removes the option to change the netty system properties to
reenable the direct buffer pooling. It also removes the need for us to
disable the buffer pooling in the system properties file. Instead, we
programmatically craete an allocator that is used by our networking
layer.

This commit does introduce an Elasticsearch property which allows the
user to fallback on the netty default allocator. If they choose this
option, they can configure the default allocator how they wish using the
standard netty properties.

* Remove default netty allocator empty assertions (#48356)

This commit removes a problematic assertion that the netty default
allocator is not used. This assertion is problematic because any other
test can cause this task to fail by touching the default allocator. We
assert that we are using heap buffers in the channel.

* Upgrade to Netty 4.1.43 (#48484)

With this update we can remove the mitigation in our custom allocator
which forces heap buffer allocations.
@Tim-Brooks Tim-Brooks deleted the update_netty_version branch April 30, 2020 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants