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

Sentry cleanup --silent --loglevel ERROR is not silent #13968

Closed
1 of 3 tasks
ganzevoort opened this issue Jul 11, 2019 · 0 comments · Fixed by #13969
Closed
1 of 3 tasks

Sentry cleanup --silent --loglevel ERROR is not silent #13968

ganzevoort opened this issue Jul 11, 2019 · 0 comments · Fixed by #13969

Comments

@ganzevoort
Copy link
Contributor

Important Details

How are you running Sentry?

  • On-Premise docker [Version 9.1.1]
  • Saas (sentry.io)
  • Other [briefly describe your environment]

Description

Cron output is not empty, mails me:

Removing expired values for OrganizationMember

Steps to Reproduce

$ sentry cleanup --days=30 --silent --loglevel ERROR

What you expected to happen

No output.

Possible Solution

There's a fix in #13406
I believe the code there isn't correct. If both is_filtered(models.OrganisationMember) and silent are True, the code will delete expired objects, which I think is incorrect.

markstory pushed a commit that referenced this issue Jul 11, 2019
Expired organisation members would be deleted during silent cleanup
even when filtered (not specified on the command line).

Fixes GH-13968
BYK pushed a commit that referenced this issue Jul 11, 2019
Expired organisation members would be deleted during silent cleanup
even when filtered (not specified on the command line).

Fixes GH-13968
BYK pushed a commit that referenced this issue Jul 22, 2019
Expired organisation members would be deleted during silent cleanup
even when filtered (not specified on the command line).

Fixes GH-13968
@github-actions github-actions bot locked and limited conversation to collaborators Dec 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant