You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make the post-processing task resilient to crashes #3879
Is your feature request related to a problem? Please describe.
As discussed here, the Bleve indexing task requires a LOT of memory (and I don't understand why), which sometimes makes the container crash (I defined pretty restrictive memory limits). But once the container has restarted, the file is indefinitely blocked in a "processing" state, awaiting for an admin action (this one).
User-wide, that's really annoying. You upload a file. No errors. But since then, you're unable to open it, move it, delete it.
Describe the solution you'd like
Post-processing failures should state why it failed. And if it was due to a main process crash, then retry it. (for the Bleve indexing task, this may fix my problem)
To prevent crash loops (if retrying a task makes the process crash), this FR supposes a better post-processing crash handling.
Describe alternatives you've considered
A shady post-start script that executes the --resume admin command, but it was not really stable, so I removed it.
Activity