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

[exporter/prometheusremotewrite] Fix data race in batch series state by removing state altogether #36597

Closed

Conversation

ArthurSens
Copy link
Member

Description

It's an alternative to #36524

Fixes the data race by removing the state altogether.

Warning

The batch state was created so we don't allocate huge buffers when batching remote-write requests every time, so removing it will decrease performance in memory allocations (at least in theory).

Link to tracking issue

The problem was discovered during the review period at #35184

@ArthurSens
Copy link
Member Author

Sorryyyyy, this PR was opened by mistake. Please ignore :)

@ArthurSens ArthurSens closed this Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants