vatesfr / xen-orchestra

The global orchestration solution to manage and backup XCP-ng and XenServer.
https://xen-orchestra.com
Other
768 stars 262 forks source link

Report backup as failed or skipped if already running #4497

Closed julien-f closed 4 years ago

julien-f commented 5 years ago

Currently, a new execution is silently ignored if the job is already running, this is good enough.

See xoa-support#1731

julien-f commented 4 years ago

@badrAZ I think the only thing to do is to not return the promise from runJobSequence here: https://github.com/vatesfr/xen-orchestra/blob/67853bad8ebf8646e9f10a23a858d855852bfcc3/packages/xo-server/src/xo-mixins/scheduling.js#L158

Do you think you can check this out before this release?