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: Clean up all the things, even if redis doesn't know about it #1167

Merged
merged 2 commits into from
May 23, 2024

Conversation

kentquirk
Copy link
Contributor

Which problem is this PR solving?

  • We saw refinery seemed to lose track of some traces and just leave them in the cache forever. This makes sure they can't hang around forever, and we'll track a metric for it

Short description of the changes

  • Add CleanupCycleDuration config value
  • Use it for the cleanup cycle
  • Drop traces we can't find in redis

@kentquirk kentquirk self-assigned this May 23, 2024
@kentquirk kentquirk requested a review from a team as a code owner May 23, 2024 01:56
@kentquirk kentquirk merged commit 2500ae1 into main May 23, 2024
4 checks passed
@kentquirk kentquirk deleted the kent.cleanup_everything branch May 23, 2024 13:19
MikeGoldsmith pushed a commit that referenced this pull request Jun 5, 2024
)

- We saw refinery seemed to lose track of some traces and just leave
them in the cache forever. This makes sure they can't hang around
forever, and we'll track a metric for it

- Add CleanupCycleDuration config value
- Use it for the cleanup cycle
- Drop traces we can't find in redis
tdarwin pushed a commit to tdarwin/refinery that referenced this pull request Jun 26, 2024
…neycombio#1167)

## Which problem is this PR solving?

- We saw refinery seemed to lose track of some traces and just leave
them in the cache forever. This makes sure they can't hang around
forever, and we'll track a metric for it

## Short description of the changes

- Add CleanupCycleDuration config value
- Use it for the cleanup cycle
- Drop traces we can't find in redis
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.

3 participants