Repository navigation
Conversation
pbhandari
marked this pull request as ready for review
December 1, 2026 16:00
…p-967-fix-eap-vs-eap_items-allocation * origin/master: (21 commits) ci(gocd): Wait on Required checks instead of each test job (#8769) ci(sentry): Run the sentry job on 2 shards without API changes (#8761) ci: Add a single Required checks job for branch protection (#8768) ci(sentry): Run Sentry's snuba tests in one pytest invocation per shard (#8594) feat(eap): allow block column setting jobs on eap_items_2_local (#8752) fix(lw-deletes): Retry deletes on ClickHouse transport errors (#8750) ref: bump sentry-conventions to 0.37.0 (#8759) feat(eap): honour and emit routing_hint on TimeSeries endpoint (#8754) fix(eap): Apply virtual columns to coalesced reads of their name (#8739) build(deps): Bump devservices to 1.5.5 (#8749) build(deps): Bump github/codeql-action/analyze from 3ea37a44b6e4e6847c46edae209410d258d548d1 to 38112626f97ac1fd7acf3df7ebca51f4677c1b38 (#8744) build(deps): Bump github/codeql-action/autobuild from 3ea37a44b6e4e6847c46edae209410d258d548d1 to 38112626f97ac1fd7acf3df7ebca51f4677c1b38 (#8743) build(deps): Bump github/codeql-action/init from 3ea37a44b6e4e6847c46edae209410d258d548d1 to 38112626f97ac1fd7acf3df7ebca51f4677c1b38 (#8742) build(deps): Bump astral-sh/setup-uv from 10.3.3 to 10.4.0 (#8747) build(deps): Bump actions/dependency-review-action from 5.0.0 to 5.0.1 (#8741) Revert "ref: bump sentry-conventions to 0.35.0 (#8737)" feat(allocation-policies): Raise BytesScannedPolicy default limit to 4 TB (#8730) ref: bump sentry-conventions to 0.35.0 (#8737) feat(storage-routing): Add dedicated downsample thresholds separate from reject (#8735) ref(lw-deletions): remove off-peak consumer backpressure (#8727) ... # Conflicts: # sentry-options/schemas/snuba/schema.json # tests/web/rpc/v1/test_storage_routing.py
This branch has not been deployed
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.
RPC routing strategies read their allocation policies from the
EAPkey of theallocation_policiesoption. That name reads like theeap_itemsstorage key, so s4s2 was configured undereap_itemsonly and routing fell back toPassthroughPolicy.Routing now reads the key of its own
resource_identifier, which is theeap_itemsstorage key. There is no routing-only key any more.storage_routing.py:ResourceIdentifier("EAP")becomesself.resource_identifierShared key:
db_queryalso readsallocation_policiesby the storage key of each table in the query. When a query executes against theeap_itemsstorage, the same policy list is built at routing and again at execution, so quota is counted twice. Accepted for now.Deploy order: the options-automator PR (https://github.com/getsentry/sentry-options-automator/pull/10699) was written for an
RPCkey and has to be changed toeap_itemsbefore it merges. Routing falls back to Passthrough in any region that has noeap_itemsentry when this deploys.Refs EAP-967