suspend/resume 3 times vcjob will directly failure #3067
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
What happened:
Use vcjob create job, then job running, then suspend/resume 3 times, the vcjob will directly failure
What you expected to happen:
vcjob can success resume
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
volcano/pkg/controllers/job/state/aborted.go
Lines 31 to 36 in 36abf1b
volcano/pkg/controllers/job/state/restarting.go
Lines 31 to 38 in 36abf1b
when resume job, RetryCount++, and RetryCount >= maxRetry, job Failed
Environment:
kubectl version
):uname -a
):The text was updated successfully, but these errors were encountered: