Skip to content

fix(rpc): Remove maximum_concurrent_rpcs limit - #874

Merged
evanh merged 2 commits into
mainfrom
evanh/fix/remove-max-concurrent-rpcs
Nov 20, 2026
Merged

evanh merged 2 commits into
mainfrom
evanh/fix/remove-max-concurrent-rpcs

Conversation

@evanh

@evanh evanh commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

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.

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.
@evanh
evanh requested a review from a team as a code owner November 20, 2026 15:06
@evanh evanh changed the title evanh/fix/remove max concurrent rpcs fix(rpc): Remove maximum_concurrent_rpcs limit Nov 20, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ 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.

@evanh
evanh merged commit c7df3ec into main Nov 20, 2026
30 checks passed
@evanh
evanh deleted the evanh/fix/remove-max-concurrent-rpcs branch November 20, 2026 15:45
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
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