Bug 35842

Summary: Reset failed background jobs to new
Product: Koha Reporter: Magnus Enger <magnus>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: johanna.raisa, tomascohen, wizzyrea
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36702
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Magnus Enger 2024-01-19 07:22:14 UTC
Would it make sense to be able to reset a "failed" background job to "new", so processing can be attempted one more time? Similar to how a failed message can be reset to new.
Comment 1 Tomás Cohen Arazi (tcohen) 2024-06-25 14:35:19 UTC
Maguns, I think bug 36702 is the way to go on this one. If you agree, please close this one.
Comment 2 Liz Rea 2024-06-25 14:53:53 UTC
I like the notion that a given job could also be given a manual retry
, that seems helpful
Comment 3 Magnus Enger 2024-06-26 06:02:21 UTC
I tend to agree with Liz. I would give bug 36702 higher priority, but I still think having the possibility to give a single job a "kick" would be a good thing.
Comment 4 Tomás Cohen Arazi (tcohen) 2024-06-26 12:57:13 UTC
(In reply to Magnus Enger from comment #3)
> I tend to agree with Liz. I would give bug 36702 higher priority, but I
> still think having the possibility to give a single job a "kick" would be a
> good thing.

Yeah, even if retried X times and failed, we would want to be able to re-enqueue it.