Skip to content

ref(redis): Remove routing code left over from rb - #130289

Merged
strongs merged 3 commits into
masterfrom
strongs/infreng-552-rb-leftovers
Nov 9, 2026
Merged

strongs merged 3 commits into
masterfrom
strongs/infreng-552-rb-leftovers

Conversation

@strongs

@strongs strongs commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Why

With rb gone, every Redis entry without is_redis_cluster has one host and gets a plain StrictRedis client. Several code paths still existed only to send each key to the right rb host, and now do nothing. This removes them. Key names and value formats do not change.

Changes

  • Workflow buffer:
    • use pipelines all the time instead of round trips for key. The old way existed to support blaster's need to pick a single server for both keys.
  • Digests:
    • remove helpers responsible for choosing a server (there's only one to choose from now)
  • Feature adoption, relay debounce cache:
    • remove get_client and get_redis_client wrappers
  • Quotas:
    • remove unused is_redis_cluster attribute
  • main buffer:
    • remove some more unused args
  • locks:
    • remove another unused arg

Refs INFRENG-552

@linear-code

linear-code Bot commented Nov 6, 2026

Copy link
Copy Markdown

INFRENG-552

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 6, 2026
Base automatically changed from strongs/infreng-552-remove-rb to master November 6, 2026 20:20
@strongs
strongs force-pushed the strongs/infreng-552-rb-leftovers branch from 4f07547 to 37e8ace Compare November 6, 2026 20:50
@sentry

sentry Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Sentry Snapshot Testing

Name Added Removed Changed Renamed Unchanged Skipped Status
sentry-frontend
sentry-frontend
0 0 0 0 804 0 ✅ Unchanged

⚙️ sentry-frontend Snapshot Settings

@strongs
strongs force-pushed the strongs/infreng-552-rb-leftovers branch from 2901012 to 57067c5 Compare November 6, 2026 21:30
@strongs
strongs marked this pull request as ready for review November 6, 2026 21:41
@strongs
strongs requested review from a team as code owners November 6, 2026 21:41
@strongs
strongs requested a review from a team November 6, 2026 21:41
strongs and others added 2 commits November 9, 2026 08:18
With rb gone, every Redis entry without is_redis_cluster has one host and gets a plain StrictRedis client. Several code paths still existed only to send each key to the right rb host. This removes them. Key names and value formats do not change.

The workflow buffer uses its pipelined path for bulk reads and deletes in both modes. Digests, feature adoption, the debounce cache, quotas and the buffer drop client wrappers and arguments that no longer do anything. The lock API drops routing_key, which only RedisBlasterLockBackend read.

Refs INFRENG-552

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The test called get_client, which this branch removes from FeatureAdoptionRedisBackend.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@strongs
strongs force-pushed the strongs/infreng-552-rb-leftovers branch from 57067c5 to 622af22 Compare November 9, 2026 16:21
The old comment described redis-blaster, which is gone. This test class still covers the str client that a Redis Cluster config gets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mchen-sentry mchen-sentry added the Trigger: getsentry tests Once code is reviewed: apply label to PR to trigger getsentry tests label Nov 9, 2026

@wedamija wedamija left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🔥

@strongs
strongs merged commit 9bf3711 into master Nov 9, 2026
143 checks passed
@strongs
strongs deleted the strongs/infreng-552-rb-leftovers branch November 9, 2026 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components Trigger: getsentry tests Once code is reviewed: apply label to PR to trigger getsentry tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants