Skip to content

Server Garbage Collector Processor stuck in loop on deletion errors #1284

@seriousben

Description

@seriousben

Errors preventing the deletion of file from blob storage result in a retry loop for the same files.

This was observed by not providing delete permissions to indexify. A file already deleted from blob storage could have also resulted in a similar behavior.

Expected

404 should potentially be considered a success if blob storage returns 404 if the file is not found.
on 403 or any errors, we should consider sleeping before retry if all the GC Urls fetched resulted in errors.
We should also consider paginating the list of GC files so that we try to delete next ones if previous one failed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions