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

Go1.23 timers #11334

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

shivanthzen
Copy link

@shivanthzen shivanthzen commented Oct 2, 2024

Link to tracking issue

Fixes #11332

Testing

Documentation

@shivanthzen shivanthzen requested a review from a team as a code owner October 2, 2024 21:48
Copy link

linux-foundation-easycla bot commented Oct 2, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: shivanthzen / name: Shivanth MP (b0168e2, bc6a9a3)
  • ✅ login: bogdandrutu / name: Bogdan Drutu (43ccc5e)

Copy link

codecov bot commented Oct 2, 2024

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.

Project coverage is 91.51%. Comparing base (4ace638) to head (43ccc5e).

Files with missing lines Patch % Lines
processor/batchprocessor/batch_processor_1_22.go 33.33% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main   #11334   +/-   ##
=======================================
  Coverage   91.51%   91.51%           
=======================================
  Files         430      431    +1     
  Lines       20226    20226           
=======================================
  Hits        18509    18509           
  Misses       1342     1342           
  Partials      375      375           

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

Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

Thanks @shivanthzen, one question

package batchprocessor // import "go.opentelemetry.io/collector/processor/batchprocessor"

func (b *shard) stopTimer() {
if b.hasTimer() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it possible to add a test to capture the regression this is fixing?

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.

Batch processor can deadlock/freeze using Go 1.23 timers
3 participants