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

fix(hybridcloud) Move cache clearing for sentryapps to a task #77791

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

markstory
Copy link
Member

Clearing the region cache for large sentryapps is timing out due to query timeouts. Moving the RPC operations into a task will allow the outbox to be processed more efficiently. If the clear cache task is dropped, caches will naturally expire due to TTL.

Fixes SENTRY-3DEZ

Clearing the region cache for large sentryapps is timing out due to
query timeouts. Moving the RPC operations into a task will allow the
outbox to be processed more efficiently. If the clear cache task is
dropped, caches will naturally expire due to TTL.

Fixes SENTRY-3DEZ
@markstory markstory requested a review from a team as a code owner September 19, 2024 16:39
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Sep 19, 2024
@markstory markstory requested review from a team September 19, 2024 16:46
Copy link

codecov bot commented Sep 19, 2024

Codecov Report

Attention: Patch coverage is 91.30435% with 2 lines in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/sentry/tasks/sentry_apps.py 90.47% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #77791      +/-   ##
==========================================
- Coverage   78.09%   78.09%   -0.01%     
==========================================
  Files        6987     6987              
  Lines      309826   309832       +6     
  Branches    50696    50697       +1     
==========================================
+ Hits       241962   241966       +4     
- Misses      61391    61393       +2     
  Partials     6473     6473              

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