#856: BibSched: tasks not halting the queue on failure
------------------------+-----------------------
Reporter:  jlavik       |       Owner:
    Type:  enhancement  |      Status:  assigned
Priority:  critical     |   Component:  BibSched
 Version:               |  Resolution:
Keywords:               |
------------------------+-----------------------

Comment (by adeiana):

 Introducing recoverable errors in the task themselves is what I was
 thinking too as the next step.
 However I see it as complementary, this is what I would like:
 bibindex could throw a CERROR on utf-8 problems but an unexpected error
 would stop the queue
 refextract should work the other way around where if it detects a database
 error it should throw an ERROR but throw a CERROR on an unexpected error

 To achieve it, I see two ways:
 * We can add a new parameter when creating a task that defines what kind
 of errors are thrown by default. refextract would set CERROR by default.
 bibindex would set ERROR by default
 * Or we can handle it with that patch above and handle the behavior in
 bibsched by introducing yet another error type to force stopping the queue
 (that could be used by refextract on a db error).

-- 
Ticket URL: <http://invenio-software.org/ticket/856#comment:7>
Invenio <http://invenio-software.org>

Reply via email to