xenial-black•2y ago
RunClient.resurrect() works first time, but not second time
I have written a Python client that iterates through a batch of input files and calls an actor to process each file. This it accomplishes using the ActorClient.call() method. If one of the files fails, I get the RunClient object from the ActorClient object and call resurrect(). I would like to resurrect twice before throwing an exception. I can get the job to resurrect the first time (because its status is FAILED), but if I try again, I get this error message: . Is there a way to wait until the job has returned to a status of FAILED the second time? Please let me know if I can provide any additional information, and thanks in advance!
1 Reply
Hello Dan, you can only resurrect when the actor is in finished state, you can either abort it or wait for finish