Skip to content

Conversation

iambriccardo
Copy link
Contributor

@iambriccardo iambriccardo commented Mar 26, 2025

This PR adds dynamic config validation that makes sure that the batch size bytes used in the spooler is configured correctly. In case of incorrect configuration the system would deadlock.

@iambriccardo iambriccardo changed the title Fix feat(spooler): Add configuration check based on memory size Mar 26, 2025
@iambriccardo iambriccardo marked this pull request as ready for review March 27, 2025 12:41
@iambriccardo iambriccardo requested a review from a team as a code owner March 27, 2025 12:41
CHANGELOG.md Outdated
@@ -20,6 +20,7 @@
- Extract transaction breakdowns into measurements. ([#4600](https://github.com/getsentry/relay/pull/4600))
- Expose worker pool metrics in autoscaler endpoint ([#4605](https://github.com/getsentry/relay/pull/4605))
- Bump the revision of `sysinfo` to the revision at `15b3be3273ba286740122fed7bb7dccd2a79dc8f`. ([#4613](https://github.com/getsentry/relay/pull/4613))
- Add additional check of the `Config` when starting relay. ([#4617](https://github.com/getsentry/relay/pull/4617))
Copy link
Member

Choose a reason for hiding this comment

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

Maybe something like:

Suggested change
- Add additional check of the `Config` when starting relay. ([#4617](https://github.com/getsentry/relay/pull/4617))
- Validate the spooling memory configuration on startup. ([#4617](https://github.com/getsentry/relay/pull/4617))

@iambriccardo iambriccardo enabled auto-merge (squash) March 27, 2025 13:15
@iambriccardo iambriccardo requested a review from Dav1dde March 27, 2025 13:15
@iambriccardo iambriccardo merged commit 90f67c6 into master Mar 27, 2025
25 checks passed
@iambriccardo iambriccardo deleted the riccardo/feat/memory-check branch March 27, 2025 14:12
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.

2 participants