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

[exporterhelper] Fix batch sender ignoring next senders in the chain #10287

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

dmitryax
Copy link
Member

@dmitryax dmitryax commented Jun 1, 2024

This change fixes a bug when the retry and timeout logic was not applied with enabled batching. The batch sender was ignoring the next senders in the chain.

Fixes #10166

Copy link

codecov bot commented Jun 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.65%. Comparing base (df3f826) to head (411834b).

Current head 411834b differs from pull request most recent head 1808a52

Please upload reports for the commit 1808a52 to get more accurate results.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10287      +/-   ##
==========================================
+ Coverage   92.62%   92.65%   +0.02%     
==========================================
  Files         386      386              
  Lines       18236    18232       -4     
==========================================
  Hits        16892    16892              
+ Misses       1000      996       -4     
  Partials      344      344              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@atoulme atoulme left a comment

Choose a reason for hiding this comment

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

LGTM

@dmitryax
Copy link
Member Author

dmitryax commented Jun 3, 2024

@lahsivjar @carsonip PTAL

Copy link

@lahsivjar lahsivjar left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the quick fix.

This change fixes a bug when the retry and timeout logic was not applied with enabled batching. The batch sender was ignoring the next senders in the chain.
@dmitryax dmitryax merged commit cc72c2d into open-telemetry:main Jun 4, 2024
46 checks passed
@dmitryax dmitryax deleted the fix-batch-sender-chaining branch June 4, 2024 16:46
@github-actions github-actions bot added this to the next release milestone Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[exporterhelper] batchsender casues indefinitely blocking in-flight requests to block collector shutdown
4 participants