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

Replace stanza package to include concurrent decode bug fix. #857

Merged
merged 1 commit into from
Sep 21, 2023

Conversation

jefchien
Copy link
Contributor

@jefchien jefchien commented Sep 21, 2023

Description of the issue

We made the fix for the concurrent decode bug in pkg/stanza as part of amazon-contributing/opentelemetry-collector-contrib#72, but never added a replace directive in our go.mod to include the change in the agent.

Description of changes

Adds the replace in the go.mod and added it to the otel-fork-replace.yml workflow.

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tests

Ran an EMF generator with 10 connections/10 threads/~500ms between messages.

v1.300026.3 saw corrupted messages after a couple minutes.

image

Built the agent and ran the generator for over an hour. No longer saw corrupted messages.

image

Requirements

Before commit the code, please do the following steps.

  1. Run make fmt and make fmt-sh
  2. Run make lint

@jefchien jefchien requested a review from a team as a code owner September 21, 2023 16:05
@jefchien jefchien merged commit 0efed49 into aws:main Sep 21, 2023
6 checks passed
@jefchien jefchien deleted the replace-stanza branch September 21, 2023 17:38
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.

4 participants