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

Call addBytesSent with correct number of bytes #29194

Merged
merged 1 commit into from
Mar 21, 2018

Conversation

Tim-Brooks
Copy link
Contributor

This is related to #27258. Currently we call the transport service
adaptor with the number of readable bytes once a message has been sent.
However, the number of readable bytes should be zero as the bytebuf has
been consumed. This commit fixes that issue by recording the number of
bytes.

This is related to elastic#27258. Currently we call the transport service
adaptor with the number of readable bytes once a message has been sent.
However, the number of readable bytes should be zero as the bytebuf has
been consumed. This commit fixes that issue by recording the number of
bytes.
@Tim-Brooks Tim-Brooks added >bug review :Distributed/Network Http and internode communication implementations v5.6.9 labels Mar 21, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

Copy link
Member

@jasontedor jasontedor left a comment

Choose a reason for hiding this comment

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

Good catch. LGTM.

@Tim-Brooks
Copy link
Contributor Author

Not my catch, community issue (#27258). I encountered it when going through the backlog.

@Tim-Brooks Tim-Brooks merged commit 73b8856 into elastic:5.6 Mar 21, 2018
@Tim-Brooks Tim-Brooks deleted the fix_tx_size_in_bytes branch December 10, 2018 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Distributed/Network Http and internode communication implementations v5.6.9
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants