Files
nomad/client/allocrunner/taskrunner
Ben Buzbee baea4716b7 Don't treat a failed recover + successful destroy as a successful
recover

This code just seems incorrect. As it stands today it reports a
successful restore if RecoverTask fails and then DestroyTask succeeds.

This can result in a really annoying bug where it then calls RecoverTask
again, whereby it will probably get ErrTaskNotFound and call DestroyTask
once more.

I think the only reason this has not been noticed so far is because most
drivers like Docker will return Success, then nomad will call
RecoverTask, get an error (not found) and call DestroyTask again, and
get a ErrTasksNotFound err.
2021-07-03 01:46:36 +00:00
..
2019-03-04 13:15:15 -08:00
2019-01-08 09:11:47 -05:00
2019-12-13 11:21:00 -05:00
2020-10-14 15:17:47 -07:00