Repository navigation
fix(rpc): Remove maximum_concurrent_rpcs limit - #874
Merged
Merged
Conversation
This caused an unfortunate incident with how the broker handles the RESOURCE_EXHAUSTED calls. When the taskbroker receives one of these, it immediately runs a query to move the failed activation from CLAIMED to PENDING. When there are a lot of these RESOURCE_EXHAUSTED responses, it actually saturates the AlloyDB instance. For now, remove this setting to avoid that behaviour. Still keep the logic that moves the health server to a separate port, that is still a good change.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 7bb4580. Configure here.
lvthanh03
approved these changes
Nov 20, 2026
3 tasks done
This was referenced Nov 20, 2026
evanh
added a commit
to getsentry/sentry
that referenced
this pull request
Nov 20, 2026
Picks up getsentry/taskbroker#874, which removes the `maximum_concurrent_rpcs` limit. It saturated AlloyDB with CLAIMED -> PENDING updates and had to be rolled back. Refs STREAM-2103
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This caused an unfortunate incident with how the broker handles the RESOURCE_EXHAUSTED calls. When
the taskbroker receives one of these, it immediately runs a query to move the failed activation from
CLAIMED to PENDING. When there are a lot of these RESOURCE_EXHAUSTED responses, it actually
saturates the AlloyDB instance.
Remove this setting to avoid that behaviour. Still keep the logic that moves the health
server to a separate port, that is still a good change.