-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Debug files being deleted if SENTRY_EVENT_RETENTION_DAYS is lower than 30 days #3287
Comments
Assigning to @getsentry/support for routing ⏲️ |
For now the workaround is just skip this model particulary and apply the rest, so the command in docker-compose look like this:
|
@hubertdeng123 I don't know if this is something that most users will encounter as I don't use debug files myself. Should we just put this on the docs? But if there's a model name changes, we'd need to update the docs more often than we'd need to? |
@aldy505 Maybe one posible solution is to add a Thanks for your time |
Environment
self-hosted (https://develop.sentry.dev/self-hosted/)
Steps to Reproduce
Expected Result
Debug file shouldn't be removed because was used the same day as the cleanup was executed
Actual Result
Debug file is removed because AVAILABLE_FOR_RENEWAL_DAYS is set to 30 days so
date_accessed
will not be updated insidemaybe_renew_debug_files
method because this field is updated if 30 days has passedAVAILABLE_FOR_RENEWAL_DAYS should set to 1 day (or maybe less than 24 hours) so any value of SENTRY_EVENT_RETENTION_DAYS greater than 1 (or 0 if is managed in hours) will work the expected way
Product Area
Processing
Link
No response
DSN
No response
Version
24.8.0
The text was updated successfully, but these errors were encountered: