Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(inc-1100): Bump sentry-redis-tools to retry on timeout error #88559

Merged
merged 3 commits into from
Apr 2, 2025

Conversation

shruthilayaj
Copy link
Member

@shruthilayaj shruthilayaj commented Apr 2, 2025

In #inc-1100 we saw backpressure kick in for transaction ingestion in de and us regions because of TimeoutErrors when connecting to the redis cluster.
https://github.com/getsentry/sentry-redis-tools/releases/tag/0.4.0 adds support to retry on TimeoutErrors

@shruthilayaj shruthilayaj requested a review from a team as a code owner April 2, 2025 15:00
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 2, 2025
@shruthilayaj
Copy link
Member Author

😞

ERROR: Cannot install -r requirements-dev-frozen.txt (line 167), -r requirements-dev-frozen.txt (line 169), -r requirements-dev-frozen.txt (line 193) and redis==3.4.1 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested redis==3.4.1
    rb 1.10.0 depends on redis!=3.4.0 and >=2.6
    redis-py-cluster 2.1.0 depends on redis<4.0.0 and >=3.0.0
    sentry-redis-tools 0.4.0 depends on redis>=4.0

@untitaker
Copy link
Member

Revert this commit: getsentry/sentry-redis-tools@990fdca

seems like we never followed through here

shruthilayaj added a commit to getsentry/sentry-redis-tools that referenced this pull request Apr 2, 2025
getsentry/sentry#88559
requires some fixes in sentry-redis-tools but running into dependency issues trying to bump the package version.

ERROR: Cannot install -r requirements-dev-frozen.txt (line 167), -r requirements-dev-frozen.txt (line 169), -r requirements-dev-frozen.txt (line 193) and redis==3.4.1 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested redis==3.4.1
    rb 1.10.0 depends on redis!=3.4.0 and >=2.6
    redis-py-cluster 2.1.0 depends on redis<4.0.0 and >=3.0.0
    sentry-redis-tools 0.4.0 depends on redis>=4.0
reverting https://github.com/getsentry/sentry-redis-tools/pull/12/files per @untitaker's suggestion here. I reverted all the changes in that commit since I wasn't sure what is pertinent to the redis>=3.0 -> redis>=4.0 change. Had to manually port the changes, since files had changed for me to be able to open an automatic revert PR.
@shruthilayaj shruthilayaj merged commit e3d3485 into master Apr 2, 2025
46 checks passed
@shruthilayaj shruthilayaj deleted the shruthi/chore/bump-sentry-redis-tools-to-4-0 branch April 2, 2025 18:48
andrewshie-sentry pushed a commit that referenced this pull request Apr 8, 2025
…88559)

In #inc-1100 we saw backpressure kick in for transaction ingestion in
`de` and `us` regions because of TimeoutErrors when connecting to the
redis cluster.
https://github.com/getsentry/sentry-redis-tools/releases/tag/0.4.0 adds
support to retry on TimeoutErrors
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants