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

Fix concurrent modification exception in ComponentRegistry #4951

Merged
merged 2 commits into from
Nov 15, 2022

Conversation

jack-berg
Copy link
Member

Noticed this bug today working on something else.

@jack-berg jack-berg requested a review from a team November 15, 2022 00:39
@codecov
Copy link

codecov bot commented Nov 15, 2022

Codecov Report

Base: 91.01% // Head: 91.02% // Increases project coverage by +0.01% 🎉

Coverage data is based on head (e495d6a) compared to base (ef4150c).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #4951      +/-   ##
============================================
+ Coverage     91.01%   91.02%   +0.01%     
  Complexity     4841     4841              
============================================
  Files           546      546              
  Lines         14442    14447       +5     
  Branches       1395     1395              
============================================
+ Hits          13144    13150       +6     
+ Misses          893      892       -1     
  Partials        405      405              
Impacted Files Coverage Δ
.../opentelemetry/sdk/internal/ComponentRegistry.java 100.00% <100.00%> (ø)
...ava/io/opentelemetry/sdk/internal/RateLimiter.java 94.11% <0.00%> (-5.89%) ⬇️
...telemetry/sdk/trace/export/BatchSpanProcessor.java 91.03% <0.00%> (-1.38%) ⬇️
...y/exporter/internal/marshal/CodedOutputStream.java 71.00% <0.00%> (+1.18%) ⬆️
...metry/sdk/metrics/export/PeriodicMetricReader.java 90.00% <0.00%> (+2.85%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@jack-berg jack-berg merged commit bd8b565 into open-telemetry:main Nov 15, 2022
github-actions bot pushed a commit that referenced this pull request Nov 15, 2022
* Fix concurrent modification exception in ComponentRegistry

* Reduce number of threads and iterations
jack-berg added a commit that referenced this pull request Nov 15, 2022
…4954)

* Fix concurrent modification exception in ComponentRegistry

* Reduce number of threads and iterations

Co-authored-by: jack-berg <[email protected]>
Co-authored-by: Jack Berg <[email protected]>
dmarkwat pushed a commit to dmarkwat/opentelemetry-java that referenced this pull request Dec 30, 2022
…metry#4951)

* Fix concurrent modification exception in ComponentRegistry

* Reduce number of threads and iterations
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.

3 participants